Viewing 7 posts - 1 through 7 (of 7 total)
-
AuthorPosts
-
July 28, 2018 at 8:54 pm #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 7 years, 2 months ago by
pawder.
July 29, 2018 at 12:14 am #991000Hey pawder,
Please include the url to the page in question so we can take a closer look.Best regards,
MikeJuly 29, 2018 at 8:25 am #991026July 29, 2018 at 4:46 pm #991095Hi,
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,
MikeJuly 29, 2018 at 7:29 pm #991180Thank you! It works!
regardsJuly 29, 2018 at 7:35 pm #991198Wait a minute, feature image now is not showing. Any clue to fix it?
Thanks
July 29, 2018 at 10:18 pm #991323 -
This topic was modified 7 years, 2 months ago by
-
AuthorPosts
Viewing 7 posts - 1 through 7 (of 7 total)
- You must be logged in to reply to this topic.
