Archived topic
Trying to remove the Post Author Picture and Name from showing
5 replies · Started by Daniel on November 12, 2022
Hello, I'm Trying to remove the Post Author Picture and Name from showing when you click on the author's name. I checked the box in customize layout and blog to remove the display post author, but it didn't remove it. What do I need to do next, please?
Hi there,
Any chance you can link us to the page in question?
You can use the private information field:
https://docs.generatepress.com/article/using-the-premium-support-forum/#private-information
Let me know :)
https://cdmlifegroup.com/author/admin/
Here is the link to the page how do I get rid of my name and my picture here?
Hi there,
you can add this PHP Snipper to your site:
add_action('wp', function(){
if ( is_author() ) {
remove_action( 'generate_archive_title', 'generate_archive_title' );
}
});
Adding PHP: https://docs.generatepress.com/article/adding-php/
I'm sorry, where is the PHP snipper so I can add it? It's not like adding css
See the Adding PHP link below the snippet in David's reply:
https://generatepress.com/forums/topic/trying-to-remove-the-post-author-picture-and-name-from-showing/#post-2413922