WordPress on Routes

WordPress on Routes Install Statistics

0
100%
Today: 0 Yesterday: 0 All-time: 1,050 downloads
WordPress on Routes Icon

Try plugin: WordPress on Routes

We'll create fresh WordPress site with WordPress on Routes installed. You have 20 minutes to test the plugin after that site we'll be deleted.

Takes ~10 seconds to install.

About WordPress on Routes

This plugin adds API-like functionality to your WordPress instance.

0


0


0


0


0

updated: 9 years ago
since: 10 years ago
author: Marko Jakic

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.