I have tried searching, but it’s not turning up anything. Maybe I don’t know what to search for.
I am getting a different year displaying in my sidebar, depending on which page is calling it!! The sidebar code remains the same…but on my Pages and posts, the year is 2006, and on a category page, the year is 2007.
Here are two examples (see the copyright info on the right, bottom of sidebar):
http://www.timelessword.com/webmaster — shows 2007
http://www.timelessword.com — shows 2006
http://www.timelessword.com/sermons/gospels/who-is-jesus/who-is-jesus-matthew-1613-16 — shows 2006
The code for all of these is the same:
2000-<?php the_time('Y', '', ''); ?>
I have tried the_date and it’s the same result.
Any thoughts? I am not even sure where to begin. Oh, I am using WP 2.1.3, just upgraded but the problem has been there since 2.0.5. I am using a completely custom theme I built from the ground up. If there is any other info I can supply, I would be glad to.
- The topic ‘Year is displaying differently on different pages’ is closed to new replies.