承接 manychois/wp-wpx 相关项目开发

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

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

manychois/wp-wpx

Composer 安装命令:

composer require manychois/wp-wpx

包简介

A utility library for overriding WordPress default HTML output easily

关键字:

README 文档

README

Wpx provides you a set of utility functions to help you developing WordPress themes or plugins.

Installation

composer require manychois/wp-wpx

Then in your plugin file or theme functions.php, write this to start using Wpx:

require_once(__DIR__ . '/vendor/autoload.php');
$wpx = new \Manychois\Wpx\Utility(new \Manychois\Wpx\WpContext());
$wpx->activate();

Features

  • Check UtilityInterface for available methods. Some highlights:
    • minimizeHead()
      Remove certain WordPress default stuff in <head> tag, e.g. generator tag, emoji script.
    • registerStyle() / registerScript()
      Outputting tag like <link rel="stylesheet" href="..." integrity="..." crossorigin="anonymous" /> has become possible.
    • getMenuItem()
      No more manipulating output from wp_nav_menu(). Wpx provides you hierarchy of menu data for extreme flexibility.
    • getPostPaginationLinks()
      Again, no more manipulation on output from paginate_links().
  • Bundle \Manychois\Views\View to help you build HTML template in parent-child structure. Reference: https://github.com/manychois/php-views
  • Provide \Manychois\Wpx\TagBuilder to simplify HTML tag construction.
  • Register useful stylesheets and JavaScripts for admin pages:
    • wpx-jquery-ui: CSS of Jquery UI theme Smoothness.
    • wpx-codemirror: Latest CodeMirror core script.

To-do list

  • Increase unit test code coverage.
  • Add helper styles and functions to simplify plugin admin screen development.

License

This project is licensed under MIT License.

Author

This library is created by Siu Pang Tommy Choi.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-05-21

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固