الوصف
Simple Post View Count is a lightweight plugin that allows you to track and display the number of views for your WordPress posts. Key features include:
- View Tracking: Automatically tracks post views using AJAX or a fallback method, with IP-based deduplication.
- Shortcode Support: Use
[simppovi-single-post-view]to display view counts anywhere on your site. - Customizable Display: Customize text and colors for view counts via the settings page.
- Admin Column: Adds a sortable “Views” column to the post list in the admin area.
- View Logs: View detailed logs of post views and export them to CSV.
- Caching Compatibility: Works with caching plugins when configured correctly.
Perfect for bloggers, content creators, and site owners who want to monitor post popularity without heavy analytics plugins.
License
This plugin is licensed under the GPLv2 or later. See the included license.txt file for details.
لقطات الشاشة
التنصيب
- Upload the
simple-post-view-countfolder to the/wp-content/plugins/directory. - Activate the plugin through the ‘Plugins’ menu in WordPress.
- Configure settings under Settings > Simple Post View in the WordPress admin.
- Use the
[simppovi-single-post-view]shortcode to display view counts in your posts or pages. - For caching plugins, ensure the AJAX endpoint is excluded from caching.
الأسئلة المتكررّة
-
How do I display the view count?
-
Use the
[simppovi-single-post-view]shortcode in your post or page content. For a specific post, use[simppovi-single-post-view id="123"]. Customize with attributes likeshow_total="true"orshow_24_hour="false". -
Why are view counts not updating?
-
Ensure your caching plugin excludes the AJAX endpoint. Check the view logs under Settings > Simple Post View for details.
-
Can I reset view counts?
-
Yes, use the “Reset Post View Data” button in the settings page. This action is irreversible.
-
Does it work with multisite?
-
Yes, the plugin supports WordPress multisite installations.
المراجعات
لا توجد مراجعات لهذه الإضافة.
المساهمون والمطوّرون
“Simple Post View Count” هو برنامج مفتوح المصدر. وقد ساهم هؤلاء الأشخاص بالأسفل في هذه الإضافة.
المساهمونترجمة ”Simple Post View Count“ إلى لغتك.
مُهتم بالتطوير؟
تصفّح الشفرة، تحقق من مستودع SVN، أو الاشتراك في سجل التطوير بواسطة RSS.
سجل التغييرات
1.0.1
- Updated prefixes for better uniqueness and compatibility
- Improved security with better nonce handling
- Fixed AJAX endpoint references
1.0.0
- Added database schema upgrade routine.
- Improved performance with view_date index.
- Added date range filter for view logs.
- Enhanced security with CSV sanitization and input validation.
- Updated frontend AJAX with retry mechanism.
- Initial release.





