Description
JSONPress – Allows you to request WordPress site via JSON/JSONP output using standard WordPress query.
Features
- Access JSON via sub domain, ex.
api.example.com(sub domain must be configured separately) - Supports
JSONPcallback. - Easy to debug output using
JSON pretty printorprint_r. - You can
exclude columns/datato be displayed in JSON output. - You can include
custom fieldstoo. - This plugin uses
standard WordPress query, no SQL hack etc. - Use
standard WordPress URL, no need to remember new annoying URL. - And many more features I don’t tell here.
Special
Not only posts/page, you can also call some functions via URL.
Examples:
example.com/get/wp_list_categoriesto displays list categories in JSON formatexample.com/get/wp_list_pagesto displays list pagesexample.com/get/wp_nav_menuto displays menus
Hei, 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.
Captures d’écrans
Installation
There are many ways to install this plugin, e.g:
- Upload compressed (zip) plugin using WordPress plugin uploader.
- Install using plugin installer in WordPress dashboard.
- Upload manually uncompressed plugin file using FTP.
FAQ
none
Avis
Il n’y a aucun avis pour cette extension.
Contributeurs/contributrices & développeurs/développeuses
« JSONPress » est un logiciel libre. Les personnes suivantes ont contribué à cette extension.
ContributeursTraduisez « JSONPress » dans votre langue.
Le développement vous intéresse ?
Parcourir le code, consulter le SVN dépôt, ou s’inscrire au journal de développement par RSS.
Journal des modifications
0.3
- /json endpoints now works accross site, (previously only on page or post)
0.2
- exclude_query now run after result is formatted
- function_exists check on
easy_get_imagelibrary - permalink/site_url changed only if API domain is configured
- fixed
jsonendpoint, previously required to pass value json/1 - fix notice errors
- improved API access check
- fix 404 result
0.1
- First release




