Post Count With a Twist – Help Please :)
-
I have searched the archives here for *days*, so if this is already mentioned somewhere–I apologize in advance.
I’m currently using:
<?php echo $numposts; ?>
To display the blog’s post count. Works like a charm. However, it includes posts in that count that are future timestamped–I’d like to leave those out of the count and have the count show only the posts that are live.
Also I’d like to exclude posts from a specific category from being included in that count.
I’ve tried countless code snippets (I’m terrible as a coder btw) as well as numerous plugins that I’ve lost track with. Everything seems to include future timestamped posts and nothing to exclude a category.
Is what I’m looking for possible?
- The topic ‘Post Count With a Twist – Help Please :)’ is closed to new replies.