return count of years in query
-
So is it possible to return the count of years in a post query?
So if i produce a post query and there is a post created every year for five years..then the count would = 5?
Maybe it would be similar to this:
<?php $paged = get_query_var( 'paged', 1 ); ?> <h1>Currently Browsing Page <?php echo (int) $paged; ?></h1>
but would return the count of years present in a query.
Thank You!
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘return count of years in query’ is closed to new replies.