Hi,
I’m trying to show post creation date below blog post’s title. Currently it’s showed at bottom with comments.
I tried different solutions from this forum but none worked. Please help.
Thanks,
Pawder
Hey pawder,
Please include the url to the page in question so we can take a closer look.
Best regards,
Mike
Hi,
I was not sure if you wanted the tags also moved, so this code leaves it in place.
Try adding this code to the end of your functions.php file in Appearance > Editor:
function custom_move_date_script(){
?>
<script>
jQuery(window).load(function(){
jQuery( '.post-entry' ).each(function() {
jQuery( this ).find( 'span.post-meta-infos' ).insertBefore( jQuery(this).find('.av-vertical-delimiter') );
});
});
</script>
<?php
}
add_action('wp_footer', 'custom_move_date_script');
then add this code in the General Styling > Quick CSS field:
#top.single-post span.post-meta-infos {
margin-top: 0px !important;
padding-top: 0px !important;
}
#top.single-post span.av-vertical-delimiter {
display: none !important;
}
Please see screenshot in Private Content area.
Best regards,
Mike
Thank you! It works!
regards
Wait a minute, feature image now is not showing. Any clue to fix it?
Thanks