Title: Post Views for WP
Author: uniqcoder
Published: <strong>2021 年 1 月 20 日</strong>
Last modified: 2021 年 2 月 25 日

---

搜索插件

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://s.w.org/plugins/geopattern-icon/post-views-for-wp.svg)

# Post Views for WP

 作者：[uniqcoder](https://profiles.wordpress.org/merajali294/)

[下载](https://downloads.wordpress.org/plugin/post-views-for-wp.1.0.2.zip)

 * [详情](https://cn.wordpress.org/plugins/post-views-for-wp/#description)
 * [评价](https://cn.wordpress.org/plugins/post-views-for-wp/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/post-views-for-wp/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/post-views-for-wp/#developers)

 [支持](https://wordpress.org/support/plugin/post-views-for-wp/)

## 描述

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).

## 屏幕截图

[⌊screenshot-1.png⌉⌊screenshot-1.png⌉[

screenshot-1.png

[⌊screenshot-2.png⌉⌊screenshot-2.png⌉[

screenshot-2.png

## 安装

 1. Install Post Views for WP either via the WordPress.org plugin directory, or by 
    uploading the files to your server
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Go to the PostViews for WP settings and set your options as per requirement.

## 常见问题

No questions yet.

## 评价

此插件暂无评价。

## 贡献者及开发者

「Post Views for WP」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ uniqcoder ](https://profiles.wordpress.org/merajali294/)

[帮助将「Post Views for WP」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/post-views-for-wp)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/post-views-for-wp/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/post-views-for-wp/)，或通过[RSS](https://plugins.trac.wordpress.org/log/post-views-for-wp/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/post-views-for-wp/)。

## 更新日志

#### 1.0.2 ( 25 February 2021)

 * Feature Added: =
 * Added support to edit the Post Views Label.

#### 1.0.1 ( 27 January 2021)

 * Feature Added: =
 * Added support of Shortcode to display Post/Page Views Count. ( You can simply
   copy and paste [post_viewsfwp] ), Once you paste it in your Post/Page or any 
   Custom Posttype your Views will be displayed.

#### 1.0 ( 19 January 2021)

 * Initial Release

## 额外信息

 *  版本 **1.0.2**
 *  最后更新：**5 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 3.0 或更高版本 **
 *  已测试的最高版本为 **5.6.17**
 *  语言
 * [English (US)](https://wordpress.org/plugins/post-views-for-wp/)
 * 标签
 * [PostCount](https://cn.wordpress.org/plugins/tags/postcount/)[postviews](https://cn.wordpress.org/plugins/tags/postviews/)
 *  [高级视图](https://cn.wordpress.org/plugins/post-views-for-wp/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/post-views-for-wp/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/post-views-for-wp/reviews/)

## 贡献者

 *   [ uniqcoder ](https://profiles.wordpress.org/merajali294/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/post-views-for-wp/)