Цей плагін не перевірявся з останніми 3-ма основними випусками WordPress. Можливо, він більше не може розроблятися або підтримуватися, і він може мати проблеми сумісності при використанні з більш новими версіями WordPress.

Simple Post View Count

Опис

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.

Скріншоти

Встановлення

  1. Upload the simple-post-view-count folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Configure settings under Settings > Simple Post View in the WordPress admin.
  4. Use the [simppovi-single-post-view] shortcode to display view counts in your posts or pages.
  5. 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 like show_total="true" or show_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.