Hi there! The title says it all really, i have tried a few plugins and couldn't get them to work. So i thought i would ask here Im planning to use it to show how many films i have reviewed on filmhammer.com Thanks for your time
If you just want to display the number of posts (or pages or categories) you have made to your site's visitors, you can use the code here: http://wpengineer.com/show-amount-of-posts-pages-categories-tags-comments-for-wordpress-themes/ It works well, but you need to be comfortable modifying your theme files.
<?php $query = "SELECT * FROM ".$table_prefix."posts WHERE post_status='publish' AND post_type='post'"; $result = mysql_query($query); $count = mysql_num_rows($result); //this will display the number of posts echo $count; ?> Code (markup):
Great. Thanks for the help I will add it in later tonight to see if it works, however I'm sure it will.
You can do it with simple PHP code. Here is a tutorial to show simple statistics on website that you might be interested in.