Routemaster WP Registry grade A-. Low-severity findings · 1 findingWP RegistryLow-severity findings · 1 findingOpen the reportA-
Improved routing for WordPress
Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/outlandishideas/routemaster/archive/refs/heads/v2.zipRoutemaster WordPress plugin
Replaces the built-in WordPress routing logic with one defined by URL patterns.
Installation
- Install and activate plugin
- Create Router subclass that implements abstract
routesfunction - 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.
Releases
23 releases.
These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.