show views of your blog
Often we want to know how many people read our articles,and it’s pleasure for us to see our articles were read by many times.
In fact,it’s not difficult as you think. Now, let’s start:
First, we should download a plugin ‘WP-PostViews‘,this plugin enables you to display how many times a post/page had been viewed.Then you should do as follows:
1.Open wp-content/plugins Folder;
2.Put: Folder: wp-postviews;
3.Activate WP-PostViews Plugin;
4.Go to WP-Admin -> Settings -> PostViews to configure the plugin.
Next you should add code in your blog:
1.Open wp-content/themes/
2.You may place it in archive.php, single.php, post.php or page.php also;
3.Find: ;
4.Add Anywhere Below It (The Place You Want The Views To Show): <?php if(function_exists(‘the_views’)) {
the_views(); } ?>.
Tt’s finished now,it’s sample,right?
show views of your blog