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


Doesn’t work

When I click to export file it doesn’t download, it just kicks me to the homepage of my site.

Works Great – imports post images

This plugin works great. One step to export, one step to import. All images are imported into the media library, leaving featured and inserted images in their proper places.
Don’t forget to check the box at the bottom “Export Media with Selected Content” during export. Import using the standard WordPress importer.

Read all 7 reviews

Contributors & Developers

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




  • 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