MWR Hit Counter
MWR Hit Counter is a simple and lightweight text-based counter for your website.
Plugin info
Maintenance & Compatibility
Maintenance score
Maintained • Last updated 104 days ago • 1 reviews
Is MWR Hit Counter abandoned?
Likely maintained (last update 104 days ago).
Compatibility
Similar & Alternatives
Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.
Description
MWR Hit Counter is a simple and lightweight text-based counter for your website.
It uses a single database table and a cookie to count unique visitors over 30 days.
No IP tracking, no bloated features — just a clean counter you can display anywhere.
Installation
- Upload the plugin files to the
/wp-content/plugins/mwr-hit-counterdirectory, or install the plugin through the WordPress plugins screen directly. - Activate the plugin through the ‘Plugins’ screen in WordPress.
- Add the shortcode where you want the counter to appear.
Examples
Template code (in PHP):
<?php echo do_shortcode( '[mwrcounter start=500]' ); ?>
Post/Page code:
[mwrcounter start=500]
Frequently Asked Questions
Tested with WordPress 6.8.2 and should work with any version from 5.0+.
This plugin uses a cookie (valid for 30 days) to prevent counting the same user repeatedly.
Yes, use the start attribute in the shortcode: [mwrcounter start=100].
Review feed
Changelog
1.1.0
- Updated for compatibility with WordPress 6.8.2
- Improved database table creation using
dbDelta()with primary key - Added safety checks for PHP 8+
- Secure cookie parameters for better compatibility
- Code cleanup and better escaping for database operations
0.1
- Initial release
