Archived topic
How to Show Date Below the Featured Image
5 replies · Started by Data on June 6, 2020
Viewing posts 1–6 of 6
currently, the date is coming above the featured image. How can we move it to below the featured image? And also how to Right Align it. Currently is left align.
Hi there,
Try this function:
add_action( 'wp', function() {
if ( is_single() ) {
remove_action( 'generate_after_entry_title', 'generate_post_meta' );
add_action( 'generate_before_content', 'generate_post_meta', 15 );
}
} );
Let me know :)
where to add this?
I did, but the date is moved above the main heading. I want to show it below the featured image and align it on right side.
Have you solved this? The topic is marked as resolved.
Is the code still added?
I'm not seeing any dates at all.
This archived topic is closed to new replies.