[theme-reviewers] Theme Options upload field

ethan anwar ethananwar at yahoo.com
Mon Feb 13 20:42:40 UTC 2012


Hi! I will make this as quick as possible!
On my theme Mantra I am asked by the theme reviewer to make the favicon selection as an option.
That means making an input field with 'file' type so the user can browse and select the image. I thought that would be easy as hell.

But it isn't. In my theme options array I can only save text so the only thing that gets saved is the file's name.
I was wondering how do you guys do it. I browsed a few themes that use an uploader but can't quite make it out. I also tried using
WordPress' own Media Uploader but I can't get that to work either. 
Do you guys know of any tutorial (I searched but couldn't find any)  ?

Thanks a lot!
Kay
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wordpress.org/pipermail/theme-reviewers/attachments/20120213/f3142ad6/attachment.htm>


More information about the theme-reviewers mailing list