AJAX Hits Counter + Popular Posts Widget

0

Counts page/posts hits via AJAX. Ideal for nginx whole-page-caching or caching plugins. For plugin’s work you DON’T need any javascript-framework (jQuery, MooTools, etc.) Popular Po

Version
Last updated
Active installations
WordPress Version
Tested up to
Rating
Total ratings
Tag
This plugin is outdated and might not be supported anymore.

Description

Counts page/posts hits via AJAX. Ideal for nginx whole-page-caching or caching plugins.

For plugin’s work you DON’T need any javascript-framework (jQuery, MooTools, etc.)

Popular Posts Widget included.

You can fully customize displaying of widget by using predefined placeholders, such as {post_id}, {post_title}, {post_title_N}, {post_excerpt_N}, {post_author}, {post_author_link}, {permalink}, {post_date}, {thumbnail-[medium|...|64x64]}, {post_categories}, {post_hits} and {post_comments_count}.

Also you can show hits count in Posts/Pages Loop.
Simply add this line:

or equivalent

Or you can use shortcode [hits].

You can use callback function for “success” (ajaxHitsCounterSuccessCallback(xhr)) or “failed” (ajaxHitsCounterFailedCallback(xhr)) result status of increment hits script.