WPThumbs
Themes Plugins By purpose By industry Best-of lists Fix it guides
Free Plugin by kutsy v0.10.210305

AJAX Hits Counter + Popular Posts Widget

Plugin counts posts views (hits) by using external AJAX based counter script of this plugin, which is best solution for caching whole page or using ot …

AJAX Hits Counter + Popular Posts Widget

The facts

Rating
4.9★ from 17
Active installs
900+
Price
Free
Last updated
5 Mar 2021
Added
Aug 2012
Requires WP
3.0
Tested up to
WP 5.7.17
Downloads
45,026

Our analysis

AI-assisted

AJAX Hits Counter + Popular Posts Widget is a WordPress plugin that counts post views using an AJAX-based counter script. It is designed to work well with caching plugins and allows you to display popular posts based on view counts with various visibility settings.

The plugin includes a widget for showcasing popular posts, which can be customised using predefined placeholders. You can display hit counts in your posts or pages using PHP code or a shortcode. It also offers features like bot/crawler ignoring and the ability to reset the counter.

Best for: This plugin is suitable for WordPress site owners looking to track post views and display popular content.

What it does well

  • Counts post views using an AJAX-based counter
  • Includes a widget for displaying popular posts
  • Compatible with caching plugins like W3 Cache and WP SuperCache
  • Allows hit count display via PHP code or shortcode
  • Ignores most bots and crawlers

Where it falls short

  • Limited information on additional features or support
  • No details on user interface or customisation options

Verdict

AJAX Hits Counter + Popular Posts Widget offers a straightforward solution for counting post views and showcasing popular posts, though it lacks extensive documentation and feature details.

From the developer

kutsy's own description of AJAX Hits Counter + Popular Posts Widget, lightly tidied.

Plugin counts posts views (hits) by using external AJAX based counter script of this plugin, which is best solution for caching whole page or using other cache plugins.
Plugin also include widget “Popular Posts” for displaying popular posts (based on hits count) with different visibility settings and 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}.

You can show hits count in Posts/Pages Loop simply adding this line: <?php echo(ajax_hits_counter_get_hits(get_the_ID())); ?> or equivalent <?= ajax_hits_counter_get_hits(get_the_ID()) ?>
Or you can use this shortcode: [hits].
Plugin also have JavaScript-callback function (on client) for “success” (ajaxHitsCounterSuccessCallback(xhr)) and for “failed” (ajaxHitsCounterFailedCallback(xhr)) result status of hits incrementation.

Features

  • AJAX based counter ignores most bots/crawlers
  • Ability to reset the counter to any number any time
  • Plugin not require using any third party code and/or JavaScript-frameworks
  • Sortable admin column
  • Can be shown anywhere on the site using “Popular Posts Widget”, shortcode [hits], php-code <?= ajax_hits_counter_get_hits(get_the_ID()) ?>
  • Data import from WP-PostViews (“Tools”->”Import”)
  • W3 Cache/WP SuperCache compatible
  • Excluding counts from administrators

Read the full description on the official page →

Tagged as

Alternatives

Other plugins for content discovery.

Essential Addons for Elementor

Elementor addon offering 120+ widgets and templates — Elementor Gallery, Slider, Form, Post Grid, Menu, Accord...

Free 1M+ installs 4.9★ (4,111)
Royal Addons for Elementor

Elementor templates, Header footer builder, Elementor Post Grid, Woocommerce Grid builder, Slider, Forms, Gall...

Free 600k+ installs 4.8★ (611)
Gutenberg Essential Blocks

Gutenberg block editor with AI. 70+ Gutenberg blocks, patterns, WooCommerce blocks, post grid, gallery, menu w...

Free 200k+ installs 4.9★ (213)
Content Views

Easy to show posts, pages, custom posts in customizable grid, list, slider, accordion... Available as Widgets...

Free 100k+ installs 4.8★ (333)
The Post Grid

Display WordPress posts in beautiful grid, list, slider, and filter layouts. Works with Gutenberg, Elementor,...

Free 100k+ installs 4.8★ (265)
The Plus Addons for Elementor

Best Addons for Elementor with 120+ Elementor FREE &amp; Pro Widgets &amp; 1000+ Elementor Templates with Mega...

Free 100k+ installs 4.6★ (387)