Plugin info

Total downloads: 1,391
Active installs: 10
Total reviews: 0
Average rating: 0
Support threads opened: 0
Support threads resolved: 0 (0%)
Available in: 1 language(s)
Contributors: 1
Last updated: 3/1/2015 (3958 days ago)
Added to WordPress: 5/2/2014 (11 years old)
Minimum WordPress version: 3.8
Tested up to WordPress version: 4.1.42
Minimum PHP version: f

Maintenance & Compatibility

Maintenance score

Possibly abandoned • Last updated 3958 days ago

20/100

Is WordPress on Routes abandoned?

Possibly abandoned (last update 3958 days ago).

Compatibility

Requires WordPress: 3.8
Tested up to: 4.1.42
Requires PHP: f

Similar & Alternatives

Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.

No similar plugins found yet.

Description

WordPress on Routes is a plugin for WordPress, inspired mainly by Ruby micro-frameworks. It adds ability to add custom routes to your WordPress instance. Useful for form submissions, API-like features, etc.

This plugin allows you to:

  1. Add custom routes to your WordPress installation
  2. Set method GET/POST/DELETE etc.
  3. Set body (as text, or template) or action (using add/do_action). If both are defined, action takes precedence over body.
  4. Set header (e.g. ‘Content-Type’ => ‘text/html; charset=UTF-8’)
  5. Exclude header (e.g. ‘Set-Cookie’)
  6. Set parameter like ‘/my/route/:param1/:param2’
  7. Add agents or filter by agents, using regular expressions
  8. Agent filter for negative logic (e.g. /^((?!Firefox).)$/, which tells “every browser except Firefox”)
  9. Include header and footer

For basic and advanced usage examples, take a look at https://github.com/markzero/wp-on-routes.

Installation

Good old plugin installation applies here too – download it / clone it to plugins/ dir, activate.

If you want to clone it, here is the repository: https://github.com/markzero/wp-on-routes

No UI involved.

Frequently Asked Questions

No FAQ available

Review feed

No reviews available

Screenshots

No screenshots available

Changelog

0.3.0

  • Added predefined path /posts.json to get all posts list as application/json response

0.2.0

  • Added test environment and some tests for methods, parameters and splats