Type to search.

#832 by installs

Export media with selected content (by DKZR)

by joost de keijzerVersion 2.1.4

Include all relevant attachments in your export.

Active installs
40,000+
#832 of 1,000
Downloads, all time
442K
442,042
Downloads, 30 days
3.1K
852 in the last 7
Rating
4.5 / 5
93 reviews
Last updated
11 days ago
Oct 20, 2026
Version
2.1.4
10 releases

Upkeep and compatibility

Last updatedOctober 20, 2026Updated in the last 3 months
Tested up toWordPress 7.1.4Covers WordPress 7.1.4, the current release
Needs WordPress4.5 or newer
Needs PHP7.0 or newer
First publishedOctober 15, 2016
Support, last two monthsNo threads opened

Reviews

4.5 / 5 from 93 reviews

Reviews by star rating
5 stars78
4 stars2
3 stars3
2 stars0
1 star10

Downloads, last 30 days

Low 47 a dayHigh 181 a day

What the author says it does

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.

The opening of the plugin's own description. The full text, installation notes and changelog are on its WordPress.org page.

Questions the author answers

Images seem to be missing in the export file

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.

The images are imported into the new site but eg. my galleries are broken

In eg. the Gutenberg gallery block, when you select an image size (for the gallery) the images with that size are ‘hard-coded’ in the html.

The WordPress import routine downloads the original image of the ‘export site’ and re-creates the configured image sizes. When your configured image sizes differ, you might end up with broken galleries.

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.

Latest changelog entry

2.1.3

  • prevent sql error when ID turns out to be NULL (props donnyoexman)

Screenshots

From WordPress.org.

Tagged

Plugins that share its tags

#264 by installs

Widget Importer & Exporter

by Steven Gliebe

Import and export your widgets.

Installs
200,000+
Rating
4.7 (117)
Updated
16 days ago

#309 by installs

Customizer Export/Import

by Beaver Builder

Easily export or import your WordPress customizer settings!

Installs
100,000+
Rating
4.8 (115)
Updated
5 months ago

#326 by installs

Advanced Order Export For WooCommerce

by algol.plus

Export WooCommerce orders to Excel, CSV, XML, JSON, PDF and HTML. Best free order export plugin for WooCommerce.

Installs
100,000+
Rating
5.0 (350)
Updated
12 days ago

#712 by installs

Export All URLs

by Atlas Gondal

Export post, page and custom post type data to CSV or JSON, and snapshot your site to detect added, removed or changed content.

Installs
50,000+
Rating
4.6 (94)
Updated
17 days ago

#861 by installs

WP Import Export Lite

by vjinfotech

Complete Import & Export solution for Posts, Pages, Custom Posts, Users, Taxonomies, Comments, and more.

Installs
40,000+
Rating
4.0 (113)
Updated
49 days ago

Where this page's numbers come from

Read from the WordPress.org plugin API on , when WordPress 7.1.4 was the current release. WordPress.org rounds active installs into buckets. These are the directory's figures, not my verdict, and I haven't tested this plugin.