Time does not display in post….
-
My posts show no time, only date when I publish them. I have looked around forums but nothing seems to work. I have tried making some changes in functions.php on this line:
function twentyten_posted_on() { printf( __( '<span class="%1$s">Posted on</span> %2$s <span class="meta-sep">by</span> %3$s', 'twentyten' ), 'meta-prep meta-prep-author', sprintf( '<a href="%1$s" title="%2$s" rel="bookmark"><span class="entry-date">%3$s</span></a>', get_permalink(), esc_attr ( get_the_time('G:i') ), get_the_date() ),I am using the TwentyTen theme and I have a childtheme, where I have tried to put the above code, but it still shows no time.
I do not understand what I am doing wrong and why it doesn’t show time, but it is really annoying and my readers have also complained about it, so I hope that somebody can help me out 🙂
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘Time does not display in post….’ is closed to new replies.