Post view counters play many roles for a site. But it's not as easy to set up as it looks. There are many people who have trouble doing this option. However, there are some plugins that you can use. However, you will not be able to show the post view as you wish. Let's see how you can set up a post view counter where you can show your site wherever you want. Post View Counter -

Now after activating the plugin, go to the setting option and customize it as per your requirement.

In this step you have to set the viewer so watch carefully. Wrong will not work.

Appearance >Theme File Editor


Theme Function >


Theme Function > loop-blog.php

The code is given at the very end of this post. Copy the code and paste it in the specified place exactly as shown, save the update file.


Theme Function > loop-single.php

The code is given at the very end of this post. Copy the code and paste it in the specified place exactly as shown, save the update file.

WP-Post View Counter Code:

<i class="fa fa-eye" style="font-size: 15px;color: #0980c8;padding-right: 5px;"></i><span class='the_views'><?php if(function_exists('the_views')) { the_views(); } ?></span>

Close

Post a Comment

Previous Post Next Post

Ads

Help:

FAQs:

How to download any file from this website ?

You can download all the files on our site. We usually share the link of Google Drive from here you can securely and very quickly collect any PDF or all other files. One more thing to keep in mind is that this site does not post any kind of fake download, so wherever you see PDF download or file download, remember that you can download your desired PDF or other files from that post. Each download button has a timer attached. Basically, it takes some time for the files to be ready, so the download timer is given. There may be some automatic download timers, in which case there is nothing to be afraid of when you see the timer. There will be no accident when the timer runs out. Wait there with some of your precious time.