BACK TO DIRECTORY

Post Views for WP

by uniqcoder

0.0
(0 ratings)

Post Views for WP will allow you to unveil how many number of times a post or page had been viewed. It is quite easy to use as it has only one step to Set it up and running.

Features include:

  • You can Opt the post types for which post or page views will be counted and displayed.
  • Option to set/reset counts interval
  • Excluding users by IPs
  • Post views display conditions such as automatic or manual via shortcode as per your requirement
  • Shortcode Support added, simply copy/paste [post_viewsfwp] as per requirement

How to Use?

  1. One Step Setup to get up and running, Just Go to WP-Admin -> Settings -> PostViews for WP to configure the plugin.
  2. Simply enable wherever you want to enable Post/Page Views from the listed options, that’s it!
  3. Or you can use the function below to directly echo/display it.
    Open the path wp-content/themes/<YOUR ACTIVE THEME NAME>/index.php
  4. The following Code can be used in many places such as in post.php, page.php, single.php, archive.php as well as per your requirement.
  5. Search for: <?php while (have_posts()) : the_post(); ?>
  6. Once found, Add if(function_exists(‘post_views_for_wp_above_the_content’)) {
    post_views_for_wp_above_the_content($postID);} anywhere Below It (Your concerned position).

Screenshots

screenshot-1.png

screenshot-1.png

screenshot-2.png

screenshot-2.png

Plugin Details

Active Installs
10
Total Downloads
1,289
Version
1.0.2
Requires WP
3.0
Requires PHP
Tested Up To
5.6.19
Added
2021-01-20
Last Updated
2021-02-25 8:09am GMT

Ratings

5
0
4
0
3
0
2
0
1
0