承接 haykalmedia/count-everything 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

haykalmedia/count-everything

最新稳定版本:1.0.1

Composer 安装命令:

composer require haykalmedia/count-everything

包简介

Async counting of visits to each post

README 文档

README

WordPress plugin to async counting of visits to each post.

Installation

If you are using composer add this line to the required section:

"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:

"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.

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.

By default the query order posts by most popular posts in the current year.

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

统计信息

  • 总下载量: 19
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 5
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2014-12-14