定制 outlandish/routemaster 二次开发

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

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

outlandish/routemaster

最新稳定版本:v2.4.4

Composer 安装命令:

composer require outlandish/routemaster

包简介

A routing plugin for WordPress

README 文档

README

Replaces the built-in WordPress routing logic with one defined by URL patterns.

Installation

  • Install and activate plugin
  • Create Router subclass that implements abstract routes function
  • add the following to your theme:
$router = MyRouter::getInstance();
$router->setup();

Use with OOWP

To successfully extend OowpRouter and gain router awareness of post objects, you should also install OOWP. This is optional if you avoid the Outlandish\Wordpress\Routemaster\Oowp namespace.

To install it:

composer require outlandish/oowp

Wordpress.org

Unfortunately for new projects Wordpress are not accepting libraries as plugins which they host. The GitHub Actions support for this is now deleted since we tried and failed to have the project added there.

See this PR if you'd like to refer back to the GitHub Actions setup for Wordpress.org publishing, for another plugin which meets the current guidelines.

统计信息

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

GitHub 信息

  • Stars: 13
  • Watchers: 9
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-3.0
  • 更新时间: 2020-01-15