Title: Unique Post Views Counter
Author: chandra sekhar Gudavalli
Published: <strong>2013 年 9 月 13 日</strong>
Last modified: 2013 年 9 月 13 日

---

搜索插件

![](https://ps.w.org/unique-post-view-conter/assets/banner-772x250.png?rev=771817)

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

![](https://s.w.org/plugins/geopattern-icon/unique-post-view-conter_a6e1f8.svg)

# Unique Post Views Counter

 作者：[chandra sekhar Gudavalli](https://profiles.wordpress.org/chandra-sekhar-gudavalli/)

[下载](https://downloads.wordpress.org/plugin/unique-post-view-conter.zip)

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

 [支持](https://wordpress.org/support/plugin/unique-post-view-conter/)

## 描述

This one is counts and dipslay all unique users hits or views for each post on our
blog.
 We are saving every information in the database. Once we activate this plugin,
it will automatically create table in the database.

## 安装

 1. Download the file
 2. Upload and extract the file the copy the folder into our plugin location like (
    wp-content/plugins/unique_post_view_conter)
 3. Activate the plugin from admin side.
 4. If you want to display uniquer user count add this function in single.php . `<?
    php unique_views(get_the_ID()); ?>` Unique Views
 5. If you want to display full count add this function in single.php . `<?php total_views(
    get_the_ID()); ?>` Total Views

## 评价

![](https://secure.gravatar.com/avatar/3ba0b6e1943c7c4189b8ab3721a2857fcc17dcfd956f6882df0ef70cdc5a3c89?
s=60&d=retro&r=g)

### 󠀁[Plugin still works WP 4.3.1](https://wordpress.org/support/topic/plugin-still-works-wp-431/)󠁿

 [jessy](https://profiles.wordpress.org/jessy-marco/) 2016 年 9 月 3 日

total count do not work, because there is a bugg, so replace the function for this:
function update_views($post_id) { global $wpdb; $p2_table = $wpdb->prefix.unique_p2_table();
$views = get_total_views($post_id) + 1; if (get_total_views($post_id) == 0) insert_views(
$views, $post_id); $result = $wpdb->query("UPDATE $p2_table SET view = $views WHERE
post_id = '$post_id' AND ip_addres = '".$_SERVER['REMOTE_ADDR']."'"); return ($result);}

 [ 阅读所有3条评价 ](https://wordpress.org/support/plugin/unique-post-view-conter/reviews/)

## 贡献者及开发者

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

贡献者

 *   [ chandra sekhar Gudavalli ](https://profiles.wordpress.org/chandra-sekhar-gudavalli/)

[帮助将「Unique Post Views Counter」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/unique-post-view-conter)

### 对开发感兴趣吗?

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

## 额外信息

 *  版本 **1.0**
 *  最后更新：**13 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 3.0.1 或更高版本 **
 *  已测试的最高版本为 **3.4.2**
 *  语言
 * [English (US)](https://wordpress.org/plugins/unique-post-view-conter/)
 * 标签
 * [postviews](https://cn.wordpress.org/plugins/tags/postviews/)[unique hits](https://cn.wordpress.org/plugins/tags/unique-hits/)
   [unique views](https://cn.wordpress.org/plugins/tags/unique-views/)
 *  [高级视图](https://cn.wordpress.org/plugins/unique-post-view-conter/advanced/)

## 评级

 5 星（最高 5 星）。

 *  [  3 条 5 星评价     ](https://wordpress.org/support/plugin/unique-post-view-conter/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/unique-post-view-conter/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/unique-post-view-conter/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/unique-post-view-conter/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/unique-post-view-conter/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/unique-post-view-conter/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/unique-post-view-conter/reviews/)

## 贡献者

 *   [ chandra sekhar Gudavalli ](https://profiles.wordpress.org/chandra-sekhar-gudavalli/)

## 支持

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

 [查看支持论坛](https://wordpress.org/support/plugin/unique-post-view-conter/)