Archived topic
remove "by" string on Author blog
3 replies · Started by Alfonso on January 22, 2021
Viewing posts 1–4 of 4
Hi there,
I need to remove "by" string on Author posts field from my blog. How i can do it?
Thanks!
Hi there,
add this PHP Snippet:
add_filter( 'generate_inside_post_meta_item_output', function( $output, $item ) {
if ( 'author' === $item ) {
return '';
}
return $output;
}, 50, 2 );
Is working perfect! Thanks!!!!
You're welcome
This archived topic is closed to new replies.