WP Manifestindependent plugin directory
manifest / updates / mf-export-custom-post

MF Export Custom Post

Export wordpress custom posts

by MF · github.com/umlouco/mf-export-custom-post

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/umlouco/mf-export-custom-post/archive/refs/heads/main.zip

Export custom post types to an Excel-compatible file, including post fields, metadata, and taxonomy terms.

Description

MF Export Custom Post adds a page under the WordPress Tools menu that lets administrators export any custom post type with a visible admin UI.

The export includes:

  • Core post fields such as title, slug, status, dates, author, permalink, excerpt, and content.
  • All post meta keys found across the selected custom post type.
  • All taxonomy terms attached to each exported post.

To reduce timeout issues on large sites, the export uses a progressive JavaScript workflow:

  • The first AJAX request fetches all matching post IDs.
  • A second step creates the export file and writes the header row.
  • JavaScript then sends post IDs to PHP one by one.
  • Each request appends a single row to the export file.
  • When the export is complete, a download link is shown.

The generated file is an Excel-compatible .xls SpreadsheetML file.

Installation

  1. Upload the plugin to /wp-content/plugins/mf-export-custom-post/.
  2. Activate the plugin through the Plugins screen in WordPress.
  3. Go to Tools > Export Custom Posts.
  4. Select a custom post type and start the export.

Frequently Asked Questions

Who can run exports?

Only users with the manage_options capability can access the export page and run exports.

What post types are available in the dropdown?

The plugin lists custom post types that are not built in to WordPress and have show_ui enabled.

What format is the exported file?

The plugin writes an Excel-compatible .xls file using SpreadsheetML so it can be streamed incrementally without requiring an external PHP spreadsheet library.

Where are exported files stored?

Files are stored in the uploads directory inside uploads/mf-export-custom-post/.

Does the plugin support Italian?

Yes. The plugin includes Italian translations for its admin interface.

Screenshots

  1. The first screen with the custom post type selector.
  2. The progress interface while the export is running.
  3. The final download button when the file is ready.

Changelog

1.0.0

  • Initial release.
  • Added Tools menu page for exporting custom post types.
  • Added progressive AJAX export with a JavaScript progress bar.
  • Added export of post fields, post meta, and taxonomy terms.
  • Added Italian translation files.