WP Manifestindependent plugin directory
manifest / analytics / count-everything

Count Everything

WordPress plugin to async counting of visits to each post.

by Ammar Alakkad · github.com/haykalmedia/count-everything

0stars
19composer installs
1forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/haykalmedia/count-everything/archive/refs/heads/master.zip

Also on Packagist as haykalmedia/count-everything:

composer require haykalmedia/count-everything

From the readme

Count Everything WordPress plugin to async counting of visits to each post. Installation If you are using composer add this line to the required section: Note: the package has not been added to composer main repositories, so you have to explicit declare the repository as vcs, to do that, add repository section in composer if not already exists, then add the package git url, you will have something similar to: If you are not using composer, then you can download zip file and extract it in wp-content/plugins folder. Usage You can now order posts by popular ones if you are using WPQuery by adding a query var popularposts or popularpoststotal to the args or by setting the order by variable to popularposts. By default the query order posts by most popular posts in the current year. To get most popular posts in the last week, add popularposts query var and assign week as its value.

Read the full README on GitHub →