定制 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
  • 点击次数: 4
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

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

其他信息

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

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固