WordPress Post Views

Advertisements

WordPress is a very popular CMS , WordPress name of course already familiar to bloggers, Standard wordpress can’t display the total wordpress post views, You need a plug-in to display the wordpress view count.

First download the plugin WP-PostViews on Plugins menu> Add New

WP-PostViews
Or you can install it manually via FTP or cPanel

Download Here then extract the to wp-content/plugin/

After the install WP-PostViews, there are several settings on Post Views you should know:

wordpress view count

Views Count From:

  • Everyone: Count view from all your blog visitors.
  • Guest Only: Only count from your guest.
  • Registered Users Only: Only count from your members who registered at your blog.

Bot Exclude Views:

  • Yes: Count from robot spiders.
  • No: Not count from robot spider.

You can change the view to be shown on WP-PostViews “Total Views % VIEW_COUNT%” or standard format “% VIEW_COUNT%” from Views Template

After that Display Options menu, Now you can also set the WP-PostViews on every page of your wordpress blog, you can display for all visitors, members who registered or not at all.

To put the wordpress post views is not difficult, just add a little code in themes, Open Appearance >Editor

Then select the page you want to put wordpress view count, for example on each post, Open single.php/Single on the right.

For example I would put the view count on the post title and also the end of content:

Find :

<? Php the_title ();?>

Then change to :

<? Php the_title ();?> – <? Php the_views ()?>

Then to add end of content

Find :

<? Php the_content ();?>

then change to

<? Php the_content ();?>
<? Php the_views ()?>

After that Press the Update Files then open the post on your wordpress blog.

wordpress post views

You can modify wordpress so that makes it even better by adding a social bookmarking plugin and make internal link each post to make your blog stronger

Advertisements
If you enjoyed this post, please consider leaving a comment or subscribing to the RSS feed to have future articles delivered to your feed reader.
  • Ferdy

    I tried the above code but error, I added a little semicolon to be like this, and work, thank for your nice information techieday.

  • Ferdy

    I tried the above code but error, I added a little semicolon to be like this, and work, thank for your nice information techieday.

You might also likeclose