定制 ensoul/rankz 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

ensoul/rankz

最新稳定版本:3.0.0

Composer 安装命令:

composer require ensoul/rankz

包简介

A WordPress plugin which contains a bunch of customizations for Sage WordPress theme.

关键字:

README 文档

README

Packagist Packagist Downloads Build Status

A WordPress plugin which contains a bunch of customizations for Sage WordPress theme.

Requirements

Installation

You can install this plugin via the command-line or the WordPress admin panel.

via Command-line

If you're using Composer to manage WordPress, add Rankz to your project's dependencies.

composer require ensoul/rankz

Then activate the plugin via wp-cli.

wp plugin activate rankz

via WordPress Admin Panel

  1. Download the latest zip of this repo.
  2. In your WordPress admin panel, navigate to Plugins->Add New
  3. Click Upload Plugin
  4. Upload the zip file that you downloaded.

Modules

  • Rankz first setup
    add_theme_support('rankz-init');

  • Clean WordPress
    add_theme_support('rankz-clean-up');

  • Disable Customizer
    add_theme_support('rankz-disable-customizer');

  • Disable core update notice for non admin users
    add_theme_support('rankz-disable-update-notice');

  • Disable comments
    add_theme_support('rankz-disable-comments');

  • Disable widgets
    add_theme_support('rankz-disable-widgets');

  • Add Font Awesome icons to menu (more info)
    add_theme_support('rankz-font-awesome-menu');

  • Admin login customization (more info)
    add_theme_support('rankz-admin-login', '#e50040', 'dist/images/login-logo.png', 'https://example.com');

  • Google Analytics with anonymizeIP (more info)
    add_theme_support('rankz-google-analytics', 'UA-XXXXX-Y');

And in a format you can copy & paste into your theme:

/**
 * Enable features from Rankz when plugin is activated
 */
add_theme_support('rankz-init');
add_theme_support('rankz-clean-up');
add_theme_support('rankz-disable-customizer');
add_theme_support('rankz-disable-update-notice');
add_theme_support('rankz-disable-comments');
add_theme_support('rankz-disable-widgets');
add_theme_support('rankz-font-awesome-menu');
add_theme_support('rankz-admin-login', '#e50040', 'dist/images/login-logo.png', 'https://example.com');
add_theme_support('rankz-google-analytics', 'UA-XXXXX-Y');

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

统计信息

  • 总下载量: 5.44k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 4
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 3
  • Watchers: 5
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-08-05