Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1209717

    Is there a snippet/filter available so one can move the author gravatar to the bottom of a single post so it would be with the Author name at bottom- as opposed to having just the gravatar image next to the title? I am using Modern Business blog and Multi-author single post.

    Or which core files do i need to edit to make this change?
    thanks!

    #1211638

    Hey jomo5280,
    Sorry for the late reply and thanks for explaining your settings, I tried to recreate this on my localhost and wrote this script to move the author image to the bottom with the other meta data.
    Try adding this code to the end of your functions.php file in Appearance > Editor:

    function custom_meta_script(){
      ?>
      <script>
    (function($){
      $(window).load(function(){
      $( '#top.single-post .post-entry' ).each(function() {
      $( this ).find( 'div.blog-meta' ).insertBefore( $(this).find('span.post-meta-infos'));
      $( this ).find('.entry-footer').css({ 'display': 'inline-block'});
      });
      });
    })(jQuery);
    </script>
    <?php
    }
    add_action('wp_footer', 'custom_meta_script');

    2020-05-10_073216.png

    Best regards,
    Mike

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.