Title: Post Views by DevDesignDazzle
Author: DevDesignDazzle
Published: <strong>2025 年 3 月 9 日</strong>
Last modified: 2025 年 5 月 17 日

---

搜索插件

![](https://ps.w.org/devdesigndazzle-post-views/assets/banner-772x250.jpg?rev=3252980)

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

![](https://ps.w.org/devdesigndazzle-post-views/assets/icon-256x256.jpg?rev=3252994)

# Post Views by DevDesignDazzle

 作者：[DevDesignDazzle](https://profiles.wordpress.org/devdesigndazzle/)

[下载](https://downloads.wordpress.org/plugin/devdesigndazzle-post-views.1.0.0.zip)

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

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

## 描述

Post Views by DevDesignDazzle is a lightweight and powerful WordPress plugin designed
to track and display post views effortlessly. Whether you’re a blogger wanting to
see which posts get the most attention, a news site owner keeping tabs on article
performance, or a content creator curious about audience engagement, this plugin
makes it simple. It offers advanced view tracking, reliable bot filtering, and plenty
of display options to give you real insights into your content’s popularity.

What makes this plugin special? It lets you show off your top posts sorted by views,
whether that’s daily, weekly, monthly, or total counts, all based on what you choose.
You can add these displays to your site using handy shortcodes or PHP code in your
theme files. For example, you could highlight your top five posts of the month in
a neat grid or list them in a sidebar widget. It’s flexible and built to fit your
needs.

To keep your post views accurate, the plugin uses sessions and cookies to stop duplicate
counts within a 6-hour window. It also filters out admin views and blocks bots with
smart detection, so you’re only seeing real human traffic. On top of that, you get
a detailed statistics dashboard right in your WordPress admin area, where you can
filter views by day, month, or total to spot trends.

Here’s a peek at how you can display post views on your site. You’ve got a simple
shortcode like `[dddPostViews]` to show views for a single post, with options to
limit it by timeframe, such as daily or monthly. Want to display views for a specific
post outside its page? Just add a `post_id` like `[dddPostViews post_id="123" timeframe
="monthly"]`. Developers can use the PHP function `<?php echo dddPostViews_display_post_views(['
post_id' => 123, 'timeframe' => 'monthly']); ?>` for the same result. And if you
want to showcase your most popular content, the `[dddPostViews_top_posts]` shortcode
creates a responsive grid or list of top posts, sorted by views, with options to
tweak the number of posts, timeframe, and excerpt length.

#### Key Features of Post Views by DevDesignDazzle

 * Comprehensive tracking for daily, monthly, and total post views.
 * Advanced bot filtering using signature detection, behavior analysis, and header
   validation.
 * Admin view exclusion to keep your stats clean.
 * Duplicate prevention with sessions and cookies that expire after 6 hours.
 * Flexible shortcodes like `[dddPostViews]` and `[dddPostViews_top_posts]` with
   tons of options.
 * Customizable displays with CSS and adjustable excerpt lengths for top posts grids.
 * A statistics dashboard in your admin panel, filterable by day, month, or total
   views.
 * Performance optimized with caching to keep your site fast.
 * Secure design with proper data handling and sanitization.

Check out more at [DevDesignDazzle.com](https://devdesigndazzle.com/post-views-plugin).

#### Who Needs This Plugin?

 * Bloggers tracking post popularity.
 * News sites analyzing article engagement.
 * Content creators measuring audience interest.
 * Developers adding post views to themes.

#### Why Choose Post Views by DevDesignDazzle?

This plugin combines top-notch bot detection, fast performance, and customizable
displays, all wrapped up in the trusted GPLv2 license. It’s the perfect tool for
anyone serious about post views.

### Privacy Policy

 * Stores view counts in your WordPress database.
 * Uses cookies only for duplicate prevention, with no personal data collected.
 * Doesn’t share data with third parties.

### Why Post Views by DevDesignDazzle Stands Out

This plugin is perfect for WordPress users who want reliable, SEO-friendly post 
views tracking without slowing down their site. With GPLv2 licensing, advanced features,
and developer support, it’s the best choice for managing post views in 2025 and 
beyond.

### Get Started Today

Download Post Views by DevDesignDazzle now and start uncovering powerful insights
into your WordPress post views!

## 屏幕截图

 * [[
 * Statistics Dashboard: See detailed post views analytics.
 * [[
 * Settings Page: Customize tracking and display settings.
 * [[
 * Top Posts Responsive Grid: Highlight your most viewed content.

## 安装

 1. Download and upload the plugin folder to `/wp-content/plugins/`.
 2. Activate Post Views by DevDesignDazzle from the WordPress Plugins menu.
 3. Head to Post Views in your admin dashboard to see your stats.
 4. Use shortcodes or PHP functions to show post views on your site.

## 常见问题

### How Does Post Views by DevDesignDazzle Count Views?

It tracks views with a 6-hour window to prevent duplicates, using sessions and secure,
HTTP-only cookies. Admin views and bot traffic get filtered out automatically for
trustworthy numbers.

### How Can I Display Post Views?

You’ve got three great options to show post views anywhere on your site:
 1. Post
Views Shortcode: Use `[dddPostViews]` to display views for the current post. Add
a timeframe like `daily`, `monthly`, or `total` to filter the count. Need views 
for a specific post? Try `[dddPostViews post_id="123" timeframe="monthly"]` to show
last month’s views for post ID 123. 2. Post Views PHP Function: Developers can drop`
<?php echo dddPostViews_display_post_views(); ?>` into theme files. It works just
like the shortcode, so `<?php echo dddPostViews_display_post_views(['post_id' =>
123, 'timeframe' => 'monthly']); ?>` gives you the same result as above. 3. Top 
Posts Shortcode: Show off your best content with `[dddPostViews_top_posts]`. It 
creates a responsive grid or list of top posts, sorted by views in descending order,
based on your chosen timeframe. Options include `display` (set to `minimal` for 
a list in widgets or `full` for a grid), `number` (how many posts to show), `timeframe`(
daily, monthly, or total), and `excerpt_length` (word count for each post’s excerpt).
For example, `[dddPostViews_top_posts display="full" number="5" timeframe="monthly"
excerpt_length="15"]` shows five top posts from the past month in a grid with 15-
word excerpts. 4. Top Posts PHP Function: Developers can grab top post IDs with `
$post_ids = dddPostViews_get_top_posts(5, 'total');` and build custom displays however
they like.

### Does It Slow Down My Site?

Not at all! It uses WordPress caching with a 1-hour duration and optimized database
queries to stay lightning fast.

### How Are Bots Detected and Filtered?

The plugin’s advanced system catches bots with:
 – Bot signature recognition. – 
Automated traffic detection. – Header validation. – Behavioral analysis.

### What About Cookies?

Cookies stop duplicate views and expire after 6 hours. They’re secure, HTTP-only,
and don’t store personal data.

### Can I Customize the Display?

Yes! Style it with CSS classes like:
 – `.ddd-post-views` for the view counter. –`.
ddd-top-posts-grid` for the grid container. – `.ddd-top-post` for each post in the
grid. – `.ddd-post-excerpt` for excerpt text. – `.ddd-post-thumbnail` for thumbnails.–`.
ddd-post-content` for the content wrapper.

### What Display Options Are Available?

 * Responsive Grid: Adjusts to 1 column on mobile, 2 on tablets (768px+), and 3 
   on desktops (1024px+).
 * Customization: Set excerpt length with `excerpt_length` and pick `display="full"`
   for grids or `display="minimal"` for lists.

### Developer-Friendly Features

 * Constants: `dddPostViews_POST_VIEWS_VERSION`, `dddPostViews_PLUGIN_PATH`, `dddPostViews_PLUGIN_URL`.
 * Hooks and filters for custom tweaks.

## 评价

此插件暂无评价。

## 贡献者及开发者

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

贡献者

 *   [ DevDesignDazzle ](https://profiles.wordpress.org/devdesigndazzle/)

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

### 对开发感兴趣吗?

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

## 更新日志

#### 1.0.0

 * Initial release of Post Views by DevDesignDazzle.
 * Added view tracking, bot filtering, shortcodes, and a stats dashboard.
 * Optimized for speed and security.

## 额外信息

 *  版本 **1.0.0**
 *  最后更新：**1 年前**
 *  活跃安装数量 **不到10**
 *  WordPress 版本 ** 5.0 或更高版本 **
 *  已测试的最高版本为 **6.7.5**
 *  PHP 版本 ** 7.4 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/devdesigndazzle-post-views/)
 * 标签
 * [analytics](https://cn.wordpress.org/plugins/tags/analytics/)[post views](https://cn.wordpress.org/plugins/tags/post-views/)
   [View Counter](https://cn.wordpress.org/plugins/tags/view-counter/)
 *  [高级视图](https://cn.wordpress.org/plugins/devdesigndazzle-post-views/advanced/)

## 评级

尚未提交反馈。

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

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

## 贡献者

 *   [ DevDesignDazzle ](https://profiles.wordpress.org/devdesigndazzle/)

## 支持

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

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