How Do I – Rename media.php strings in a plugin
-
Hello everybody!
Just a simple question.
How do I rename ‘Edit Gallery’ title to ‘Edit Album’ and ‘Insert gallery’ button to ‘Insert album’ in a plugin? I have a plugin I made that is a gallery, but I need to rename some strings and I don’t want to do it in the media.php file because I want it as a part of my plugin.
I did:
.media-frame-title ul{ visibility: hidden; position: relative; } .media-frame-title ul:after { visibility: visible; position: absolute; left: 16px; content: "Edit Album"; }
However that replaced it everywhere and not just my plugin.
Any ideas? My plugin has ‘wp_enqueue_media();’ could I add something to that maybe?
Thanks.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘How Do I – Rename media.php strings in a plugin’ is closed to new replies.