WordPress.org

Ready to get started?Download WordPress

Plugin Directory

Media Rename

The Media Rename plugin allows you to easily rename (and retitle) your media files, once uploaded.

How to rename a single media?

Go to the Media section of the admin panel and open a media of your choice. You will see a new field named "Filename" and your current filename in it. Change it to whatever you want the new name to be and hit the "Update" button.

How to bulk rename medias?

Go to the Media section of the admin panel, select the "Rename" or "Rename & Retitle" bulk action (depending on if you want the media get retitled too) from the dropdown, check the medias you would like to rename and change their filenames using the "Filename" fields at the last column. When you are done, hit the "Apply" button and let the plugin do its magic!

Can I use the plugin to rename medias via code?

Sure, you can use the "do_rename" static function, located at the Media_Rename class. Prototype: Media_Rename::do_rename($attachment_id, $new_filename, $retitle = 0). On success the function returns 1, and on error - the error message.

Requires: 3.5 or higher
Compatible up to: 3.8.3
Last Updated: 2014-3-1
Downloads: 17,203

Ratings

5 stars
5 out of 5 stars

Support

0 of 1 support threads in the last two months have been resolved.

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,3,3 67,3,2
100,1,1
0,2,0 100,1,1 100,1,1 50,2,1
0,1,0 100,1,1 100,1,1 100,1,1
100,1,1
100,2,2
100,1,1 100,3,3
100,1,1
100,1,1
0,1,0