Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #785440

    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!

    #785451

    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

    #1417782

    Hi, is it possible to display the post-meta before title? Best Regards.

    #1417791

    Ok, it is possible by changing insertAfter to insertBefore …

    #1417826

    Hi device-edv,

    Yes, you are correct.
    Please let us know if you still need further assistance regarding this topic.

    Best regards,
    Nikko

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.