Hi there!
I have my post meta data under the post title. It appears like the below:
“Date | Post Category”
I am trying to make it something like “Written by [Author Name] | Date | Post Category”
I would also like to link the Author name to the About page. Can you give me some guidance on how I would need to modify the below PHP to make this work? Thank you!!
add_filter( ‘generate_footer_entry_meta_items’, function() {
return array(
);
} );
add_filter( ‘generate_inside_post_meta_item_output’, function( $output, $item ) {
if ( ‘categories’ === $item ) {
return ‘ | ‘;
}
return $output;
}, 50, 2 );
add_filter( ‘generate_header_entry_meta_items’, function() {
return array(
‘date’,
‘categories’,
);
} );