We'll create fresh WordPress site with JSONPress installed. You have 20 minutes to test the plugin after that site we'll be deleted.
JSONPress – Allows you to request WordPress site via JSON/JSONP output using standard WordPress query.
api.example.com (sub domain must be configured separately)JSONP callback.JSON pretty print or print_r.exclude columns/data to be displayed in JSON output.custom fields too.standard WordPress query, no SQL hack etc.standard WordPress URL, no need to remember new annoying URL.Not only posts/page, you can also call some functions via URL.
Examples:
example.com/get/wp_list_categories to displays list categories in JSON formatexample.com/get/wp_list_pages to displays list pagesexample.com/get/wp_nav_menu to displays menusHei, how about $args of those functions?
* example.com/get/wp_list_categories?args[orderby]=ID&args[exclude]=1,3,4&args[child_of]=2 etc. cool, right?
* Use subdomain API is recommended to ensure all links/permalinks are rewritten to API URL.