Export media with selected content


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.


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


  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


July 2, 2019
Simple, effective... what an amazing little plugin that has saved us so much time it's ridiculous. Great job.
June 12, 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!
May 24, 2019
This plugin is essencial for xml export, because that the export default not working good.
Read all 20 reviews

Contributors & Developers

“Export media with selected content” is open source software. The following people have contributed to this plugin.




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


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


  • Sanitize input


  • Initial release