Contributors: paisionut
Tags: json, export, rest api, api
Requires at least: 5.4
Tested up to: 6.8
Stable tag: 2.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Export WordPress posts and pages to JSON via REST API with full configuration options.
This WordPress plugin provides two REST API endpoints to export posts and pages to JSON format. Features include configurable post types, statuses, category exclusion, pagination, and flexible filtering.
- Public endpoint:
/wp-json/etjp/v1/export(no authentication required) - Admin endpoint:
/wp-json/etjp/v1/posts(requires administrator or editor role)
- Configure default posts per page
- Select default post types (post, page, custom)
- Select default post statuses (admin endpoint only)
- Exclude specific categories from export
page- Page numberitems- Items per pageorder- Order direction (DESC/ASC)orderby- Order by field (ID, date, title, modified)status- Override post statustype- Override post typeexclude_cat- Exclude categories (comma-separated IDs)search- Search posts by title/contentauthor- Filter by author IDyear- Filter by yearmonthnum- Filter by monthdebug- Return debug info (public endpoint)
- id, slug, title, content, excerpt
- guid, permalink, featured_img
- post_date, post_modified, post_date_gmt, post_modified_gmt
- status, type, author, author_id
- tags, categories, comment_count
- Upload the plugin directory to
/wp-content/plugins/ - Activate through WordPress plugins menu
- Configure settings in WordPress admin under "Export to JSON"
/wp-json/etjp/v1/export
/wp-json/etjp/v1/posts
/wp-json/etjp/v1/export?items=50&order=ASC
/wp-json/etjp/v1/export?type=post,page&exclude_cat=1,2
/wp-json/etjp/v1/posts?status=publish,private&author=1
- Complete plugin rewrite with admin settings page
- Configurable post types, statuses, and category exclusion
- Extended API parameters for filtering
- Modern admin UI with sidebar
- Added public export endpoint
- Initial release improvements
GPL v2 or later - see LICENSE.txt