Members
94The best WordPress membership and user role editor plugin. User Roles & Capabilities editor helps you rest...
Export WordPress content to Markdown for GatsbyJS.
WP Gatsby Markdown Exporter is a WordPress plugin that allows you to export your WordPress posts as Markdown files, making it easier to integrate with Gatsby. It creates zip files containing the exported content and includes a WP-CLI command for handling large amounts of data without PHP timeouts.
This plugin is suitable for users who want to transition their WordPress content to a Gatsby-friendly format, especially those familiar with command line operations. It offers customization options for remapping and restructuring exported fields, which can be beneficial for developers.
Best for: This plugin is best for developers looking to migrate WordPress content to Gatsby.
What it does well
Where it falls short
WP Gatsby Markdown Exporter provides a straightforward solution for exporting WordPress content to Markdown, particularly for those comfortable with command line tools. However, the lack of recent updates may be a consideration for potential users.
mitchmac's own description of WP Gatsby Markdown Exporter, lightly tidied.
The plugin creates zip files containing posts converted to Markdown. A WP-CLI command exists to handle exporting sites with a large amount of content.
Reminder: always keep a backup of the WordPress database and files in case your export doesn’t work as expected!
If you’re just getting started with Gatsby, we recommend experimenting with a Markdown based Gatsby starter like Tina Grande. Installation is as easy as:
git clone https://github.com/tinacms/tina-starter-grande.git
cd tina-starter-grande
yarn install && gatsby develop
Then copy your exported WordPress Markdown into the content directory or point the wp gatsby-markdown-export command at the content directory.
Want to port your WordPress or HTML theme to Gatsby? Checkout Porting an HTML Site to Gatsby for tips.
The command line functionality uses WP-CLI to interact with WordPress. WP-CLI is easy to install if you haven’t already.
Once it’s installed, you can export content to a directory like this:
wp gatsby-markdown-export --directory=/example/gatsby-starter/src/content
All CLI arguments are optional.
Option
Description
Default value
--help
get help
--directory=
export output directory
random temp directory
Other plugins for moving data.
The best WordPress membership and user role editor plugin. User Roles & Capabilities editor helps you rest...
Manage all your WordPress updates, including individual updates, automatic updates, logs, and loads more. This...
Redux is a simple, truly extensible, and fully responsive options framework for WordPress themes and plugins....
🌠 Shorten, brand, and track any URL on your own domain. Keep your links — and your data — where they belong....
Export WooCommerce orders to Excel, CSV, XML, JSON, PDF and HTML. Best free order export plugin for WooCommerc...
Easily export or import your WordPress customizer settings!