Questo plugin non è stato testato con le ultime 3 versioni principali (major releases) di WordPress. Potrebbe non essere più mantenuto, o supportato, e potrebbe presentare problemi di compatibilità se utilizzato con versioni più recenti di WordPress.

Export media with selected content

Descrizione

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.

Screenshot (schermate di esempio)

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

Installazione

  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.

Recensioni

12 Giugno 2020
I had about 226 photos with titles and categories I needed to import and this worked perfectly! The post type was "gallery" on the old website and "project" on the new website so I had to do a find and replace (<category domain="gallery_category", etc.) in the export file. I also have access to my server's PHP editor so I temporarily changed the memory limit, post max size, and max input and the plugin worked like a charm. Thanks so much!!
12 Giugno 2020
Plugin is just excellent. It imported images in post content with new domain and also imported featured images.
Last night, I woke up in the middle of the night, realizing I had no way to export just the desired media items with the content I was exporting. I found this plugin and now can sleep soundly again. 🙂 It worked great for both posts as well as custom post types, in all the test cases I tried.
15 Maggio 2020
I had to migrate 300 posts with featured images. It worked really well. Thank you very much.
21 Aprile 2020
This plugin is a life saver. After spending two hours searching for a good solution to export and import imagens of posts, this plugins finaly works. God bless you
Leggi tutte le recensioni di 39

Contributi e sviluppo

“Export media with selected content” è un software open source. Le persone che hanno contribuito allo sviluppo di questo plugin sono indicate di seguito.

Collaboratori

Traduci “Export media with selected content” nella tua lingua.

Ti interessa lo sviluppo?

Esplora il Codice segui il Repository SVN iscriviti al Log delle Modifiche. Puoi farlo tramite RSS con un lettore di feed.

Changelog (registro delle modifiche)

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