2017 © Pedro Peláez
 

wordpress-plugin count-everything

Async counting of visits to each post

image

haykalmedia/count-everything

Async counting of visits to each post

  • Tuesday, September 15, 2015
  • by AAlakkad
  • Repository
  • 1 Watchers
  • 0 Stars
  • 11 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

Count Everything

WordPress plugin to async counting of visits to each post., (*1)

Installation

If you are using composer add this line to the required section:, (*2)

"haykalmedia/count-everything": "dev-master",

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:, (*3)

"name": "your-package-name",
"repositories": [
    {
        "type": "vcs",
        "url":  "git@github.com:HaykalMedia/count-everything.git"
    }
],
"require": {
    "haykalmedia/count-everything": "dev-master",
}

If you are not using composer, then you can download zip file and extract it in wp-content/plugins folder., (*4)

Usage

You can now order posts by popular ones if you are using WP_Query by adding a query var popular_posts or popular_posts_total to the args or by setting the order by variable to popular_posts., (*5)

By default the query order posts by most popular posts in the current year., (*6)

To get most popular posts in the last week, add popular_posts query var and assign week as its value., (*7)

The Versions

15/09 2015

dev-master

9999999-dev

Async counting of visits to each post

  Sources   Download

MIT

The Requires

 

by Ammar Alakkad

plugin wordpress count

10/12 2014

1.0.1

1.0.1.0

Async counting of visits to each post

  Sources   Download

MIT

The Requires

 

by Ammar Alakkad

plugin wordpress count

10/12 2014

1.0.0

1.0.0.0

Async counting of visits to each post

  Sources   Download

MIT

The Requires

 

by Ammar Alakkad

plugin wordpress count