Title: Remove Extra Media
Author: Michael Cannon
Published: <strong>Ọwẹ́wẹ̀  22, 2013</strong>
Last modified: Òkúdù 18, 2015

---

Ṣàwárí àwọn plugin

Plugin yìí **kò tíì ṣe àyẹ̀wò pẹ̀lú àwọn ìtújáde mẹ́ta pàtàkì tó kẹ́yìn ti WordPress**.
Ó lè jẹ́ pé a kò tọ́jú tàbí ṣe àtìlẹ́yìn fún un mọ́, ó sì lè ní àwọn ọ̀ràn ìbámu
nígbà tí a bá lò ó pẹ̀lú àwọn ẹ̀yà WordPress tuntun.

![](https://s.w.org/plugins/geopattern-icon/remove-extra-media.svg)

# Remove Extra Media

 Láti ọwọ́ [Michael Cannon](https://profiles.wordpress.org/comprock/)

[Ṣe ìgbàsílẹ̀](https://downloads.wordpress.org/plugin/remove-extra-media.1.1.1.zip)

 * [Àwọn àlàyé](https://yor.wordpress.org/plugins/remove-extra-media/#description)
 * [Àwọn àgbéyẹ̀wò](https://yor.wordpress.org/plugins/remove-extra-media/#reviews)
 *  [Ìgbéwọlẹ̀](https://yor.wordpress.org/plugins/remove-extra-media/#installation)
 * [Ìdàgbàsókè](https://yor.wordpress.org/plugins/remove-extra-media/#developers)

 [Ìrànlọ́wọ́](https://wordpress.org/support/plugin/remove-extra-media/)

## Àpèjúwe

Use Remove Extra Media to remove extra media attachments from your selected post
types.

In my use case, my testimonials widgets post types in some cases, for whatever reason,
had up to 7 extra media attachments related to them. I wanted a quick way to clear
those excess out. Considering that the only image or media attachment a testimonial
should have was the featured, I simply removed all the others.

This tool works by removing the attachment relationship as this saves the media 
file in case itÌtumọ̀ Yorùbá: ’s used by other attachments. Using `wp_delete_attachment`
would delete the media file, which is something to avoid.

#### Primary Features

 * API
 * Ajax based processing screen
 * Media isnÌtumọ̀ Yorùbá: ’t deleted, only unattached from post type entry
 * Settings export/import
 * Settings screen
 * Variable allowed media count

#### Settings Options

**General**

 * Post Type Ìtumọ̀ Yorùbá: – Post type to remove excess media from.
 * Media Limit Ìtumọ̀ Yorùbá: – Number of media items to limit selected post types
   to. Count includes featured image.

**Testing**

 * Debug Mode Ìtumọ̀ Yorùbá: – Bypass Ajax controller to handle posts_to_import 
   directly for testing purposes.
 * Posts to Import Ìtumọ̀ Yorùbá: – A CSV list of post ids to import, like ‘1,2,3’.
 * Skip Importing Posts Ìtumọ̀ Yorùbá: – A CSV list of post ids to not import, like‘
   1,2,3’.
 * Import Limit Ìtumọ̀ Yorùbá: – Useful for testing import on a limited amount of
   posts. 0 or blank means unlimited.

**Compatibility & Reset**

 * Export Settings – These are your current settings in a serialized format. Copy
   the contents to make a backup of your settings.
 * Import Settings – Paste new serialized settings here to overwrite your current
   configuration.
 * Remove Plugin Data on Deletion? Ìtumọ̀ Yorùbá: – Delete all Remove Extra Media
   data and options from database on plugin deletion
 * Reset to Defaults? – Check this box to reset options to their defaults

### Notes

TBD

### API

 * Read the [Remove Extra Media API](https://github.com/michael-cannon/remove-extra-media/blob/master/API.md).

### Localization

You can translate this plugin into your own language if itÌtumọ̀ Yorùbá: ’s not 
done so already. The localization file `remove-extra-media.pot` can be found in 
the `languages` folder of this plugin. After translation, please [send the localized file](https://axelerant.com/contact-axelerant/)
for plugin inclusion.

**[How do I localize?](https://nodedesk.zendesk.com/hc/en-us/articles/202294892)**

 * Serbian by [Ognjen Djuraskovic](http://firstsiteguide.com)
 * Spanish by [Ognjen Djuraskovic](http://firstsiteguide.com)

## Àwọn àwòrán ìbòjú

 * [[
 * Settings screen
 * [[
 * Process screen pre-run
 * [[
 * Process screen post-run

## Ìgbéwọlẹ̀

#### Requirements

 * TBD

#### Install Methods

 * Through WordPress Admin > Plugins > Add New, Search for “Remove Extra Media”
    - Find “Remove Extra Media”
    - Click “Install Now” of “Remove Extra Media”
 * Download [`remove-extra-media.zip`](https://downloads.wordpress.org/plugin/remove-extra-media.zip)
   locally
    - Through WordPress Admin > Plugins > Add New
    - Click Upload
    - “Choose File” `remove-extra-media.zip`
    - Click “Install Now”
 * Download and unzip [`remove-extra-media.zip`](https://downloads.wordpress.org/plugin/remove-extra-media.zip)
   locally
    - Using FTP, upload directory `remove-extra-media` to your websiteÌtumọ̀ Yorùbá:’
      s `/wp-content/plugins/` directory

#### Activation Options

 * Activate the “Remove Extra Media” plugin after uploading
 * Activate the “Remove Extra Media” plugin through WordPress Admin > Plugins

#### Usage

 1. Configure through WordPress Admin > Settings > Remove Extra Media
 2. Process posts and such via WordPress Admin > Tools > Remove Extra Media

#### Upgrading

 * Through WordPress
    - Via WordPress Admin > Dashboard > Updates, click “Check Again”
    - Select plugins for update, click “Update Plugins”
 * Using FTP
    - Download and unzip [`remove-extra-media.zip`](https://downloads.wordpress.org/plugin/remove-extra-media.zip)
      locally
    - Upload directory `remove-extra-media` to your websiteÌtumọ̀ Yorùbá: ’s `/wp-
      content/plugins/` directory
    - Be sure to overwrite your existing `remove-extra-media` folder contents

## FAQ

  Most Common Issues

 * Got `Parse error: syntax error, unexpected T_STATIC, expecting ')'`? Read [Most Axelerant Plugins Require PHP 5.3+](https://nodedesk.zendesk.com/hc/en-us/articles/202331041)
   for the fixes.
 * [Debug common theme and plugin conflicts](https://nodedesk.zendesk.com/hc/en-us/articles/202330781)
 * [Change or debug CSS](https://nodedesk.zendesk.com/hc/en-us/articles/202243372)

  Still Stuck or Want Something Done? Get Support!

 1. [Remove Extra Media Knowledge Base](https://nodedesk.zendesk.com/hc/en-us/sections/200861112-WordPress-FAQs)
    Ìtumọ̀ Yorùbá: – read and comment upon frequently asked questions
 2. [Open Remove Extra Media Issues](https://github.com/michael-cannon/remove-extra-media/issues)
    Ìtumọ̀ Yorùbá: – review and submit bug reports and enhancement requests
 3. [Remove Extra Media Support on WordPress](https://wordpress.org/support/plugin/remove-extra-media)
    Ìtumọ̀ Yorùbá: – ask questions and review responses
 4. [Contribute Code to Remove Extra Media](https://github.com/michael-cannon/remove-extra-media/blob/master/CONTRIBUTING.md)
 5. [Beta Testers Needed](http://store.axelerant.com/become-beta-tester/) Ìtumọ̀ Yorùbá:–
    get the latest Remove Extra Media version

## Àwọn àgbéyẹ̀wò

Kò sí àwọn àgbéyẹ̀wò fún plugin yìí.

## Àwọn Olùkópa & Olùgbéejáde

“Remove Extra Media” jẹ́ ètò ìṣàmúlò orísun ṣíṣí sílẹ̀. Àwọn ènìyàn wọ̀nyí ti ṣe
ìkópa sí plugin yìí.

Àwọn Olùkópa

 *   [ Michael Cannon ](https://profiles.wordpress.org/comprock/)
 *   [ saurabhd ](https://profiles.wordpress.org/saurabhd/)
 *   [ Subharanjan ](https://profiles.wordpress.org/subharanjan/)

[Túmọ̀ “Remove Extra Media” sí èdè rẹ.](https://translate.wordpress.org/projects/wp-plugins/remove-extra-media)

### Ṣe o nífẹ̀ẹ́ sí ìdàgbàsókè?

[Ṣàwárí koodu](https://plugins.trac.wordpress.org/browser/remove-extra-media/), 
ṣàyẹ̀wò [ibi ìpamọ́ SVN](https://plugins.svn.wordpress.org/remove-extra-media/),
tàbí ṣe àgbékalẹ̀ sí [àkọsílẹ̀ ìdàgbàsókè](https://plugins.trac.wordpress.org/log/remove-extra-media/)
nípasẹ̀ [RSS](https://plugins.trac.wordpress.org/log/remove-extra-media/?limit=100&mode=stop_on_copy&format=rss).

## Àkọsílẹ̀ àwọn àyípadà

See [Changelog](https://github.com/michael-cannon/remove-extra-media/blob/master/CHANGELOG.md)

## Àkójọpọ̀ Meta

 *  Ẹ̀yà **1.1.1**
 *  Ìgbàgbọ́hùn tó kẹ́yìn **ọdún 11 sẹ́yìn**
 *  Àwọn ìgbéwọlẹ̀ tó ṣiṣẹ́ **10+**
 *  Ẹ̀yà WordPress ** 3.9.2 tàbí ju bẹ́ẹ̀ lọ **
 *  Dánwò dé **4.3.0**
 *  Èdè
 * [English (US)](https://wordpress.org/plugins/remove-extra-media/)
 * Àwọn àmì
 * [media](https://yor.wordpress.org/plugins/tags/media/)[posts](https://yor.wordpress.org/plugins/tags/posts/)
   [remove](https://yor.wordpress.org/plugins/tags/remove/)
 *  [Ìwòye Tó Péye](https://yor.wordpress.org/plugins/remove-extra-media/advanced/)

## Àwọn ìbò

Kò sí ìwádìí tí a tíì fi ránṣẹ́.

[Your review](https://wordpress.org/support/plugin/remove-extra-media/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/remove-extra-media/reviews/)

## Àwọn Olùkópa

 *   [ Michael Cannon ](https://profiles.wordpress.org/comprock/)
 *   [ saurabhd ](https://profiles.wordpress.org/saurabhd/)
 *   [ Subharanjan ](https://profiles.wordpress.org/subharanjan/)

## Ìrànlọ́wọ́

Nǹkan wà tí o fẹ́ sọ? Ṣé o nílò ìrànlọ́wọ́?

 [Wo àpéjọ ìrànlọ́wọ́](https://wordpress.org/support/plugin/remove-extra-media/)

## Ṣe ìtọrẹ

Ṣé o fẹ́ ṣe àtìlẹ́yìn fún ìlọsíwájú plugin yìí?

 [ Ṣe ìtọrẹ sí plugin yìí ](https://axelerant.com/about-axelerant/donate/)