I want to add (post creation) date and time of the post at block11.
How is this possible ?
Hi,
Please make sure that you have the date enabled from Theme Panel: http://screencast.com/t/E9wymLi6
Thanks!
Yeah – i have the date enabled that i wanna do is to display not only the date of the post but also the time that the post posted !
I think you can edit the module to add the additional WordPress time settings like hour / minute / second 00:00:00 — somebody else asked about this I recall, so might be findable in the forum while waiting for more specific reply.
not sure though, might be another place that is done.
We actually need to do that for the post pages, too.
in loop-single-1 for instance I see
<?php echo $td_mod_single->get_date(false);?>
so, ref:
http://codex.wordpress.org/Function_Reference/get_the_date
normal usage
<span class="entry-date"><?php echo get_the_date(); ?></span>
with time format
http://codex.wordpress.org/Formatting_Date_and_Time
<span class="entry-date"><?php the_time('l, F jS, Y') ?></span>
or
<?php the_time(get_option('date_format')); ?> <?php the_time(); ?>
Something like that. If you get working solution, please post an example of when/where, and I will try to do the same 🙂
-
This reply was modified 11 years by
simchris.
oh….
stupid me….
go to your wp settings > general
and in the time/date settings be sure to put in the time/date stamps you want in the format you want;
eg. for custom date format
M j, Y H:i:s O T
http://screencast.com/t/wgFVrkihMo
Jan 16, 2015 20:15:35 -0500 EST
