WP Manifestindependent plugin directory
manifest / updates / wp-content-exporter

WP Content Exporter

WordPress plugin to export content by date range in CSV, JSON, or XML. Filter by post type, status, published/modified date, and select columns — with an admin UI and URL API.

by Schbang · github.com/adityasch84/wp-content-exporter · website

0stars
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/adityasch84/wp-content-exporter/archive/refs/heads/main.zip

WordPress plugin to export site content by date range in CSV, JSON, or XML format.

Features

  • 3 Export Formats: CSV (spreadsheet), JSON (structured data), XML (WordPress native)
  • Date Filtering: Filter by published date or modified date
  • Relative & Custom Ranges: "Last N days" or specific start/end dates
  • Post Type Selection: Choose which post types to include
  • Post Status Filtering: Export published, draft, pending, private, scheduled, or trashed content
  • Column Picker: 21 available columns — choose exactly what you need (CSV/JSON)
  • Modified-Only Mode: Export only posts that were actually edited after publishing
  • Configurable Limits: Control max character length for content, excerpt, and custom fields
  • Settings Page: Save default preferences so exports are pre-configured
  • URL API: Trigger exports via URL query parameters (backward-compatible with original theme code)
  • Admin UI: Clean tabbed interface under Tools > Content Exporter

Installation

  1. Upload the wp-content-exporter folder to /wp-content/plugins/
  2. Activate via Plugins > Installed Plugins
  3. Access via Tools > Content Exporter

Available Export Columns

Column Description
ID Post ID
Title Post title
Content Plain-text content (HTML stripped)
Excerpt Post excerpt
Slug URL slug
Post Type post, page, or custom post type
Status publish, draft, pending, etc.
Author Author display name
Published Date Original publication date
Modified Date Last modification date
Was Modified Yes/No — whether post was edited after publish
Days Since Modified Number of days since last edit
Permalink Full URL
Categories Assigned categories
Tags Assigned tags
Featured Image URL Featured image URL
Template File Page template file
Custom Fields Summary All custom fields as key: value pairs
Comment Count Number of comments
Parent ID Parent post ID (hierarchical types)
Menu Order Menu order (pages)
Word Count Word count of content

URL API

Trigger exports directly via URL (requires logged-in user with export capability):

# CSV — last 7 days
/wp-admin/?export_recent=7&format=csv

# JSON — last 30 days, modified content
/wp-admin/?export_recent=30&format=json&by=modified

# CSV — custom date range
/wp-admin/?start_date=2026-01-01&end_date=2026-03-31&format=csv

# CSV — modified-only content
/wp-admin/?export_recent=14&format=csv&by=modified&modified_only=1

Requirements

  • WordPress 5.0+
  • PHP 7.4+
  • User must have the export capability (Administrators and Editors by default)