nancy651
Member
Posted 2 years ago #
I installed this plugin but am not sure as to how to call it up:
In the instructions it states to add this to your wordpress admin area:
count_posts($category, $daysago, $display)
There musts be more to add to this. Can someone tell me the correct way to call this up in my sidebar?
A link to download that plugin, please.
nancy651
Member
Posted 2 years ago #
Assuming you are using widgets for your sidebar, consider downloading and installing Otto's PHP Code Widget.
Then put this in one of those widgets, put the code that displays those counts:
<?php count_posts('mycategory'); ?>
mycategory should be replaced by your category name.
Plugin instructions:
http://wordpress.org/extend/plugins/count-posts/other_notes/