lost formatting when Replacing the_date() with the_time()
I just got wordpress this afternoon and I love it. I applied the Human Condition template but wanted to have the date on every post instead of once per day. Tried changing the template tag to the_time() in the index file and it works, i now have the date on every post, but it’s not formatted as it was before.
what I did was replace
<?php the_date(”,'<h2>’,'</h2>’); ?>
<?php the_time(‘jS F Y’,'<h2>’,'</h2>’); ?>
it seems like the_time() is not picking up the h2 style. is there a way to fix this? Thanks in advance!
- The topic ‘lost formatting when Replacing the_date() with the_time()’ is closed to new replies.