plugin-icon

JSONPress

제작자: takien·
JSONPress - Allows you to request WordPress site via JSON/JSONP output.
버전
0.3
활성화된 설치 항목
10
최근 업데이트일
Aug 28, 2013

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 JSONP callback.
  • Easy to debug output using JSON pretty print or print_r.
  • You can exclude columns/data to be displayed in JSON output.
  • You can include custom fields too.
  • 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_categories to displays list categories in JSON format
  • example.com/get/wp_list_pages to displays list pages
  • example.com/get/wp_nav_menu to 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.

무료Business 요금제에서
설치하면 WordPress.com 서비스 약관서드파티 플러그인 약관에 동의하게 됩니다.
테스트된 버전
WordPress 3.6.1
이 플러그인은 다운로드할 수 있으며 에서 사용할 수 있습니다.