Forum Replies Created
-
AuthorPosts
-
ralfjMember
I did try this code. But don't work.
add_action( 'get_the_author_meta', 'remove_authorbox_conditionally' );
/**
* @author Brad Dalton
* @link http://wpsites.net/
*/
function remove_authorbox_conditionally(){
if( is_author( array( 9, 25 ) ) ) {
remove_action( 'genesis_after_entry', 'genesis_do_author_box_single', 8 );
}
}ralfjMemberHi Brad, it would be very nice, if you would show me the code I could try.
I'm not sure, how I have to change for the right tag ... ;-(ralfjMemberHi Brad, thanks a lot for your help.
I did try this:
add_action( 'get_header', 'remove_authorbox_conditionally' ); /** * @author Brad Dalton * @link http://wpsites.net/ */ function remove_authorbox_conditionally(){ if( is_author( array( 9, 25 ) ) ) { remove_action( 'genesis_after_entry', 'genesis_do_author_box_single', 8 ); } }
but no result - the author box is allready on pages.
maybe I made somthing wrong in code...ralfjMemberHello Andrea, are you sure? The sound in a lot of discussions is more like a completely change of wordpress core with affects to all.
I run a really big site with genesis and a lot of plugins (thousends of pages/posts/store/membership). I did talk with a woocommerce developer and he told me, there coming a lot of problems with gutenberg for me.
I made the experience like this a few years ago with typo3 cms - in germany a often used enterprise solution. they did make a step forward with new core and some of the most used essential plugins could't updated. it was terrible for thousands of developers and companys - they couldn't update anymore, or they had to spend a lot of resources only to go on with their sites. the clients of the developers was not amused to spend a lot of money only to can use their sites farther. a lot of projects has to give up because of the cost.
I'm really nervous about the changing and wondering, there are less informations from plugin or theme developer.
Just know building up a other new site and not sure, is genesis framework really usefull in future with gutenberg or rather a compatibility issue...
I have the same bad feeling now like in the past with the typo3 issue.
hope it is only a feeling but not the future 😉
RalfralfjMemberI have the same Problem ...
no content will given on pages.
Posts work normal.
But in all cases I try ... content & sidebar or full page content I miss the content.
I tried out your sample content - but the same. no content.Please help soon. Have to finalise the project.
-
AuthorPosts