Ajax The Views Wordpress Plugin is used by 41 websites. Among 41, 0 site is within top 10,000 and 8 sites are within top 100,000 websites.

Wordpress Plugin Information of

Plugin Meta Name Plugin Meta Information
Plugin Name
Plugin Description Extends WP-PostViews so that the number of post views is displayed via Ajax, meaning it will be accurate even if a caching plugin is being used.
Detail Plugin Description

The Ajax_the_views WordPress plugin extends WP-PostViews so that the number of post views is displayed via Ajax, meaning it will be accurate even if a caching plugin is being used.

Note: WP-PostViews can count views when caching plugin is being used, but can't display the count. This fixes that.

Requirements

This plugin requires the WP-PostViews plugin to be installed and active.

Usage

First, install the plugin and activate it.

Second, clear the page cache. How to do this will differ depending on which caching plugin you are using (ie W3 Total Cache, WP Super Cache, etc).

How Does It Work?

To show the number of pages views on a post / page etc, you will have already added the following line to your theme:

Unfortunately, when page is cached, the count is cached as well. Although WP-PostViews can count page views behind the scenes, it won't be able to display them. Each time the page is cleared from the cache (for example when a comment is made), the count will be updated, but then the page will get cached again and the count will freeze until the cache is next cleared.

This plugin filters the_views function and replaces the count with the text "Please wait", wrapped in span tags with an id containing the post ID. It also adds some JavaScript to the footer of the page, which finds all the counts on the page (there may be more than one) and builds a list of post IDs. The plugin then sends an Ajax request to the server, which looks up the counts for these posts and sends them back to the requesting page, which then updates the count fields.

Performance

The point of using a caching plugin is to minimise server resources and speed up page loading.

This plugin is going to take up more server resources than it would otherwise: The server script will run once for each page load and will look up the database to get the count. On pages with more than one post, such as the home page, it will have to look up each one.

In the bigger scheme of things, you are only losing a small bit of what you've gained by using a caching plugin (a normal page load without caching will use a lot more resources than this), but nonetheless you need to be aware it will have some impact on performance.

Acknowledgments

The changes in version 1.1 were created by Vlad Lasky, the Australian WordPress Expert

Support:

This plugin is officially not supported (due to my time constraints), but if you leave a comment on the plugin's home page or contact me, I will help if I can.

Disclaimer

This plugin is released under the GPL licence. I do not accept any responsibility for any damages or losses, direct or indirect, that may arise from using the plugin or these instructions. This software is provided as is, with absolutely no warranty. Please refer to the full version of the GPL license for more information.

More Information Wordpress Official Plugin Repository
Google

Top 41 Websites built with Wordpress plugin

セックス動画チューブ | FC2無料エロ動画まとめ
22,307 favicon of KHAAMA.COM KHAAMA.COM
Khaama Press (KP) | Afghan News Agency - The largest news and information source in Afghanistan
FILM STREAMING
The Irrawaddy - Burma, Myanmar News
Sfatulparintilor.ro | Mii de articole, retete, forum, sfaturi pentru parinti, familie si viata.
Cronache Maceratesi
71,684 favicon of RANDOMC.NET RANDOMC.NET
Random Curiosity
SGTreport – The Corporate Propaganda Antidote – Silver, Gold, Truth, Liberty, & Freedom
عیارآنلاین - رصد و پایش مسائل اساسی کشور
135,155 favicon of MYTOP.FM MYTOP.FM
TOP FM // MUSICA AO TEU RITMO!...TOP FM // MUSICA AO TEU RITMO!…
BeLimitless | Media for Today's Generation
176,271 favicon of DESIFREE.TV DESIFREE.TV
Free TV, Pakistani Live TV, Indian Live TV, Pakistani Dramas, Hum TV dramas, Geo TV Dramas, Ary Dramas, A Plus Dramas, watch pakistani dramas online, dramasonline, Pakistani Drama
HD Wallpapers Base | A high definition wallpapers for your desktop
DesiFreeTV - Your Favorite Desi Entertainment Website
188,593 favicon of 3DKUXNI.RU 3DKUXNI.RU
3D Кухни панорамы. 3D Визуализация|Виртуальные туры.
217,054 favicon of FULLHDWP.COM FULLHDWP.COM
Full HD Wallpapers
Muzikbuldum.com - Haberler, yeni şarkılar, şarkı remixleri, türkçe çeviriler, sanatçı biyografileri, sanatçılara ait fotoğraf galerileri, etkinlikler, konserler, canlı performanslar, şarkı sözleri, yeni videolar, ünlülerin kıyafetleri, dövmeleri, hayatı,Türkçe çeviri, çeviri, şarkı sözü, remixler, 320 remixler, en popüler remixler, radyo dinle
282,012 favicon of OKUGOE.COM OKUGOE.COM
オクゴエ!"イケてる年商1億円"突破の方程式
Stiri Timisoara - Televiziunea Cetateanului
StockRants | Stock Market Today: Chat, Forums, News
Songs PK - DoReGaMa | DoReGaMa Songs PK Songs Download in MP3, HD Video Downloads
354,612 favicon of SECOM.RO SECOM.RO
Produse naturale - Consultanta naturopata | Secom
Aylak Karga - Günlük, Taze, Sosyal İçerik
410,717 favicon of HEREINUK.COM HEREINUK.COM
英国那些事儿 | 在英国每天逛一下的地方
人妻動画チューブ | 無料人妻動画まとめ
DesiFreeTV - Pakistani Dramas Online in High Quality
Granny Dolls Tube
Java Experience
634,495 favicon of RAAGALU.COM RAAGALU.COM
Raagalu.com | MP3 Songs Download, Video Songs, Songs PK, DoReGaMa
Impact In Gorj - Singurul cotidian demn de luat în seamă!
日本一即戦力なFXブログ
30,000,000 favicon of SAYITOUT.NET SAYITOUT.NET
爱要说出来_分享有关爱情的一切
30,000,000 favicon of ROBOTVSBADGER.COM ROBOTVSBADGER.COM
- We Bodyboard - Bodyboarding Videos and Movies
30,000,000 favicon of 16MAP.COM.TW 16MAP.COM.TW
十六咩的美食地圖
30,000,000 favicon of WEBODYBOARD.COM WEBODYBOARD.COM
- We Bodyboard - Bodyboarding Videos and Movies
Foto Dicas Brasil Home - Foto Dicas Brasil
30,000,000 favicon of PINTAW.COM PINTAW.COM
PintaW – HD Wallpapers for your desktop
Vídeos Amadores de Safadas, vídeos de sexo, câmera escondida, caiu na net, tube site adulto.
30,000,000 favicon of FACEOFMALAWI.COM FACEOFMALAWI.COM
Face of Malawi | Malawi Breaking News Today
30,000,000 favicon of YUMMYINTERNET.COM YUMMYINTERNET.COM
eCommerce, Web Hosting, and WordPress Blog
成功する方法を|ダイエットde痩せ隊!