How To Add Post Views Counter in WordPress Without Plugin

By on Nov 29,2016 | Categories: Wordpress No comments 225 Views

Every wordpress author want to know how many visitor click his/her post?To see that someone

use post views counter plugin.Today i will show you How To Add Post Views Counter in WordPress Without Plugin.

capture

Simply Go to your Function.php file and add the function given below.

Then,Go your theme single.php file and add the below code under your loop title.

Finally, add  this below code where you want to show your post view count.such as Index.php

Thank you for being with us.

 

Add Your Comment