looking for a simple plugin that will allow you to choose your upload location and save the image to that folder? hmmm, seemed to be so simple yet wordpress repository had no free plugins for this. So… I created one. A very simple one to that.
1) Upload to wp-content/uploads/plugins folder
2) got to plugins -> add new to locate plugin and activate
Media locations are created under media – > media locations menu item. slug is used to create folder, name is used as frontend display only.
There are few allowed characters in slugs only numbers, letters and hyphens. *(underscores will save to db but not save to folder name)*
if you want to have more than one location with the same slug please use an “_”.
using an “_” in a location slug will cause all text to be parsed and ONLY the last portion will be used.
examples: “mike_h_folder” -> “folder”, “1_nooo” -> “nooo”, “black” -> “black”.
What others are saying
Yeah. that’s what I was exploring for.. thanks. Lanette Pancho Elwin
glad to know it helped you out!
Your article is very nice thanks. Mercy Washington Weld
Yeah. that’s what I was exploring for.. thanks. Winona Tam Charo