On blog pages the date appears as a day and month (but not year) under the blog type icon.
I get quite a few hits on posts from previous years. Ideally I would like to display the posting date in the same line as the tags and categories under the post title.
(It would be great if this appeared in the blog options.)
I have tried looking at the php but can't work out how to add this in. Can anyone let me know what I need to do?
On blog pages the date appears as a day and month (but not year) under the blog type icon.
I get quite a few hits on posts from previous years. Ideally I would like to display the posting date in the same line as the tags and categories under the post title.
(It would be great if this appeared in the blog options.)
I have tried looking at the php but can't work out how to add this in. Can anyone let me know what I need to do?
Hi,
you can add posting date in the same line with tags and categories in /blog-post-format/post-common.php
we are using
date_i18n( __('date/time format here'), get_post_time() )
to render the time
http://codex.wordpress.org/Function_Reference/date...
thanks
Thank you.
Clapat Support
https://www.clapat.com/
Review Envato Item Support Policy
Sorry, I can't get this working. I added this code...
| <?php date_i18n( __('j F Y'), get_post_time() ) ?>
It creates the pipe character but doesn't add the post time/date. I'd be very grateful if you could let me know what I am doing wrong.
Thanks
add 'echo' before the function so that will be displayed
Thank you.
Clapat Support
https://www.clapat.com/
Review Envato Item Support Policy