Hi, I want to change the position of the Blog Meta Elements (author, date, etc), in the single post layout, I want these elements to display below the Title, but they show at the end of the post. Does anyone knows where I can change this?
Thanks!
Hey fponce,
Try adding this code at the bottom of functions.php:
function move_postmeta(){
?>
<script>
(function($){
$("#top.single").find(".post-meta-infos").insertAfter("h1.post-title.entry-title");
})(jQuery);
</script>
<?php
}
add_action('wp_footer', 'move_postmeta');
Let us know if this helps :)
Best regards,
Nikko
Hi, is it possible to display the post-meta before title? Best Regards.
Ok, it is possible by changing insertAfter to insertBefore …
Hi device-edv,
Yes, you are correct.
Please let us know if you still need further assistance regarding this topic.
Best regards,
Nikko