Export media with selected content

Beschreibung

When selecting one post type in the WordPress export screen, by default the linked media (attachments) are not included.

This plugin adds an „Export media with selected content“ option. When checked, the plugin tries to find featured images and included media in the post_content, adding them to the export file.

Screenshots

  • "Export media with selected content" checkbox option now available in the Export screen.

Installation

  1. Upload the plugin files to the /wp-content/plugins/export-media-with-content directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‚Plugins‘ screen in WordPress

FAQ

It does not seem to work?

This plugin hooks into the WordPress export routine and tries to find images related to the post (page, etc.). It does so by looking for „attached“ (uploaded to) media and it searches the body of the post (the post_content) for image files.

It’s possible that themes or plugins use different ways of referencing media to your post. This plugin will not find those.

Can I (have somebody) extend this plugin?

Yes! The plugin features two filter hooks:
* export_query
* export_query_media_ids

Please browse the code to see what they do, I guess export_query_media_ids is easiest to use as it requires you to just add more attachment IDs to an array.

Rezensionen

31. Juli 2019
I just used this plugin on a site port - sites are running WordPress 5.2.2 and the one I'm porting to is running Divi theme with a child theme. I installed this plugin on the "from' site, did the export, then imported on the 'to' site, with the whole process taking maybe 10 minutes max. Bam! All my posts (3 pages worth) with all the images showed up exactly where they should with all the archives, etc. This tool saved me a significant amount of manual work. Thank you very much!
2. Juli 2019
Simple, effective... what an amazing little plugin that has saved us so much time it's ridiculous. Great job.
12. Juni 2019
Took me 4 tries to transfer blog posts from one installation to another. Why is this such a problem? Why would wordpress not do this out of the box?? WP All Import wanted $99 to get this done. The Export Featured Images plugin has not been touched in 5 years and did not work. Thank goodness I found this plugin. Easy as export, choose posts, choose export media with file - Then on the other site, import as normal. Aaaaah. Done!
24. Mai 2019
This plugin is essencial for xml export, because that the export default not working good.
Lies alle 22 Rezensionen

Mitwirkende & Entwickler

„Export media with selected content“ ist Open-Source-Software. Folgende Menschen haben an diesem Plugin mitgewirkt:

Mitwirkende

Änderungsprotokoll

2.0

  • Feature: support for Gutenberg notation of images and gallery
  • Feature: added export_query_media_ids filter
  • Tested with WordPress 5.2.3

1.1

  • Tested with WordPress 5
  • Includes „Uploaded to“ media

1.0

  • Bugfix when only posts from 1 category must be selected
  • Feature: introduced export_query filter to allow for hooking into this plugin

0.9.1

  • Sanitize input

0.9

  • Initial release