Post Import and Export

The Post Import and Export feature is a native part of the Greyd Plugin. It allows you to export any post from one WordPress stage and import it into another. This functionality goes far beyond simple copy and paste. Posts in WordPress often reference various elements from the database — such as featured images, embedded media, form blocks, or even template parts like footers or sidebars. Greyd’s export system handles all of these dependencies.

When exporting a post, all referenced content is detected and bundled, including templates, media files, dynamic templates, forms, pop-ups, and more. During the import process, references are updated, reused, or replaced accordingly. This includes adjusting internal links and post IDs to reflect the new environment. Even URLs are automatically rewritten to match the destination domain.

Beyond a single post, the Post Import and Export can also has some additional features when exporting a Post Type created with the Greyd Plugin.

Exporting a Post

Screenshot highlighting export functionality as described in paragraphs below.

To export content, navigate to the overview screen of any post type — for example, Pages. When you hover over a page item, you’ll see a list of options including Edit, Trash, and Export. Clicking Export opens a dialog where you can configure how the export should behave.

Screenshot of the Modal of exporting a single post, explained in the following paragraph.

The primary option is Export Nested Content, which ensures that referenced content like images, templates, and forms are included. Depending on the post type, you may see additional options such as Resolve Menus, which flattens navigation menus into static links that are adjusted for the destination stage.

Screenshot of the Modal of exporting a post type with options to also export all individual posts and terms, explained in the following paragraphs.

When exporting a custom post type, you can use Export the whole Post Type to include all posts within that type. If multilingual plugins like Polylang or WPML are active, the export will also include translations, such as different language versions of a form or page.

In the case of global taxonomies that span multiple post types, terms like categories or tags will also be exported and later imported accordingly.

Once your options are configured, click Export Now. Greyd will package the selected content and automatically download a ZIP file. Upon successful export, a confirmation message with a green checkmark appears. If the download fails, check your browser’s console for error messages.

Bulk exports are also possible. Simply select multiple posts using the checkboxes and choose Export from the Bulk Actions dropdown, then click Apply. The selected items will be exported using the current export settings.

Importing a Post

Screenshot highlighting import button as described in the next paragraph.

To import previously exported posts, log in to a destination WordPress site that also has the Greyd Plugin active. Navigate to the post type overview (e.g., Pages or Posts). In the top action area next to Add Page or Add Post, you’ll see an Import button. Click Import to open a dialog where you can upload the ZIP file.

Screenshot of the Modal of importing a file with existing conflicts shown, explained in the following paragraph.

If content conflicts are detected — for example, if a page called “Hello World” already exists — you’ll be prompted to choose what to do. You can replace the existing item, skip it, or keep both. This can be handled globally or individually per content item.

Once the conflict resolution settings are defined, click Import Now. The system processes the ZIP file and applies replacements or merges as needed. On success, you’ll see a confirmation message. If errors occur, the browser console may reveal plugin conflicts, SSL issues, or other causes.

After the import, the new content becomes visible on your site. Note that while structural elements like templates and images are preserved, visual differences may occur due to variations in the destination’s global styles, header, or footer. These dynamic references are automatically updated, but layout differences may still appear.

Technical Basis for Global Content

The Post Import and Export mechanism is also the foundation for Global Content — a feature that synchronizes posts, templates, and even entire post types across multiple sites. Behind the scenes, every sync action performs a background export and import operation.

For example, if you update a synced page to include a new image and click Save, Greyd triggers an export of that page and imports the updated version into all connected sites. This process ensures that every referenced element is always up to date across environments.

Global Content uses many of the same import options as the standalone Post Import and Export feature. For example, you’ll see settings for including nested content or entire post types within the Global Content dialogs. For a detailed breakdown, see the separate article on Global Content.

Video

You are currently viewing a placeholder content from Vimeo. To access the actual content, click the button below. Please note that doing so will share data with third-party providers.

More Information

FAQ