Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #990966

    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

    • This topic was modified 6 years, 9 months ago by pawder.
    #991000

    Hey pawder,
    Please include the url to the page in question so we can take a closer look.

    Best regards,
    Mike

    #991026
    #991095

    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

    #991180

    Thank you! It works!
    regards

    #991198

    Wait a minute, feature image now is not showing. Any clue to fix it?

    Thanks

    #991323

    Hi,
    ops, your right, please replace the css with this:

    #top.single-post span.post-meta-infos {
    margin-top: 0px !important; 
    padding-top: 0px !important;
    float: none !important;
    }
    #top.single-post span.av-vertical-delimiter {
    display: none !important;
    }

    Best regards,
    Mike

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