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

Часто задаваемые вопросы

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.

Отзывы

21.04.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
05.03.2020
Me sirvió para importar las imágenes tanto destacadas como de la entrada en 116 entradas. Se cambiaron de servidor perfectamente a nuevas carpetas con las mismas fechas que estaban originalmente. No hay que olvidar de marcar en la importación "Descarga e importa los archivos adjuntos".
Посмотреть все 36 отзывов

Участники и разработчики

«Export media with selected content» — проект с открытым исходным кодом. В развитие плагина внесли свой вклад следующие участники:

Участники

Перевести «Export media with selected content» на ваш язык.

Заинтересованы в разработке?

Посмотрите код, проверьте SVN репозиторий, или подпишитесь на журнал разработки по RSS.

Журнал изменений

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