Description
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.
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!
Screenshots
Installation
- Download and upload the plugin folder to
/wp-content/plugins/
. - Activate Post Views by DevDesignDazzle from the WordPress Plugins menu.
- Head to Post Views in your admin dashboard to see your stats.
- Use shortcodes or PHP functions to show post views on your site.
FAQ
-
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 likedaily
,monthly
, ortotal
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 includedisplay
(set tominimal
for a list in widgets orfull
for a grid),number
(how many posts to show),timeframe
(daily, monthly, or total), andexcerpt_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. -
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 pickdisplay="full"
for grids ordisplay="minimal"
for lists.
-
Developer-Friendly Features
-
- Constants:
dddPostViews_POST_VIEWS_VERSION
,dddPostViews_PLUGIN_PATH
,dddPostViews_PLUGIN_URL
. - Hooks and filters for custom tweaks.
- Constants:
Reviews
There are no reviews for this plugin.
Contributors & Developers
“Post Views by DevDesignDazzle” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “Post Views by DevDesignDazzle” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
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.