Routemaster
Improved routing for WordPress
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/outlandishideas/routemaster/archive/refs/heads/v2.zipReadme
Routemaster 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.
Read the full README on GitHub →
Releases
| Tag | Published |
|---|---|
| v2.4.4 | Apr 27, 2023 |
| v2.4.3 | Aug 20, 2021 |
| 2.4.2 | May 20, 2021 |
| 2.4.1 | May 13, 2020 |
| 2.4.0 | May 13, 2020 |
| 2.3.8 | Apr 22, 2020 |
| 2.3.7 | Mar 20, 2020 |
| 2.3.6 | Feb 25, 2020 |
| 2.3.5 | Jan 23, 2020 |
| 2.3.4 | Jan 22, 2020 |
| 2.3.3 | Aug 26, 2019 |
| 2.3.1 | Feb 9, 2018 |
| 2.3.0 | Nov 22, 2017 |
| 2.2.0 | Oct 19, 2017 |
| 2.1.3 | Sep 15, 2017 |
| 2.1.2 | Aug 10, 2017 |
| 2.1.1 | Aug 10, 2017 |
| 1.2.4 | Jul 10, 2017 |
| 2.1.0 | Apr 27, 2017 |
| 2.0.4 | Apr 24, 2017 |
| 2.0.3 | Apr 21, 2017 |
| 1.2.3 | Mar 30, 2017 |
| 2.0.2 | Mar 29, 2017 |
These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.