the_time returning only one date
-
I’m using the_time on my archive page, like this:
<h3 class="categoryHead"><span>Browsing posts from</span> <?php the_time('F, Y'); ?></h3>
So if you choose, say, July 2017 from the date archive on the blog, you should get a headline that says “Browsing posts from July, 2017.” But you don’t: no matter which date you choose, what you get is “Browsing posts from November, -0001.”
Does anyone have an insight into this? It’s always worked in the past.
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
- The topic ‘the_time returning only one date’ is closed to new replies.