o(╥﹏╥)oSad

WeChat cannot downloadWp-Postviews Chinese plug-in, but just click on the upper right corner and select open in browser or Safari!
Wp-Postviews Chinese plug-in

Wp-Postviews Chinese plug-in

Wp-Postviews Chinese plug-in is an excellent plug-in that can help count the number of views. WordPress View Count Plug-in: WP-Postviews is the latest Chinese version, download and use it now.

Wp-Postviews Chinese plug-in

Basic introduction

Arguably, the best and most popular WordPress views counting plug-in is WP-Postviews, which can count the views of each article and get a list of the most popular (most viewed) articles.

WP-Postviews can set statistical objects: anyone, anonymous visitors, logged in users, and can exclude statistical spider crawlers.

The latest version of WP-Postviews already supports caching. Even if you use caching plug-ins such as WP Super Cache for caching, it can still count normally.

How to use

1. Open wp-content/themes/<your theme name>/index.php

You can put the code in single.php, post.php or page.php.

2. Find:

Wp-Postviews Chinese plug-in

  <?php while (have_posts()) : the_post(); ?>

3. Add at the appropriate place:

Wp-Postviews Chinese plug-in

  <?php if(function_exists(’the_views’)) { the_views(); } ?>

Open ‘Settings -> Post Views’ and set the parameters of the plugin.

View status (using Widget):

Enable WP-PostViews Widget plugin

Open ‘Appearance -> Widgets‘

Drag and drop Most Viewed Widget to the sidebar

You can configure the Most Viewed Widget plugin via the configure button.

Click "Save Changes"

·Show statistics:

Show most viewed

·usage:

Wp-Postviews Chinese plug-in

  <?php if (function_exists('get_most_viewed')): ?>

<?php get_most_viewed(); ?>

<?php endif; ?>

·The first parameter: the type of displayed statistics 'post' (log), 'page' (page) or 'both' (both displayed) The second parameter: the number to be displayed

·Default: get_most_viewed(‘both’, 10);

Display the most viewed articles or pages in a category

·usage:

Wp-Postviews Chinese plug-in

 

  <?php if (function_exists('get_most_viewed_category')): ?>

<?php get_most_viewed_category(); ?>

<?php endif; ?>

·The first parameter: the ID of the category, which can be seen in "Management->Category". The second parameter: the type of statistics displayed, 'post' (log), 'page' (page) or 'both' (both displayed) The third parameter: the number to be displayed

·Default: get_most_viewed_category(1, ‘both’, 10);

Screenshot display

Wp-Postviews Chinese plug-in

Wp-Postviews Chinese plug-in

Version: v1.74 Chinese version | Update time: 2017-09-20

Similar recommendations

Latest updates

Wp-Postviews Chinese plugin review

  • 1st floor Huajun netizen 2018-10-25 00:26:56
    The Wp-Postviews Chinese plug-in interface design is easy to use and has rich functions. I highly recommend it!
  • 2nd floor Huajun netizen 2019-12-28 15:27:35
    The overall feeling of Wp-Postviews Chinese plug-in is good, I am quite satisfied, the installation and operation are very smooth! Followed the installation step-by-step instructions and it went very smoothly!
  • 3rd floor Huajun netizen 2017-08-22 17:17:05
    Wp-Postviews Chinese plug-in hopes to do better and better, come on!

Recommended products

Everyonealso likeThese:

+

This application has not passed real-name authentication. You can download it through the mobile assistant.

CancelOK