![]() |
Hi,
Using this code for the options panel:
http://net.tutsplus.com/tutorials/wordpress/how-to-create-a-better-wordpress-options-panel/
I would like to have an image upload functionality instead of having to enter the URL path of an image.
There will be multiple instances required for image uploading, this varies, depending on the requirements of a theme.
Basically what I'm looking for is to be able to add this type of code to the section as outlined in step 4 of the above linked tutorial:
And if needed more instances of this type of code each time with a different $shortname id so I can incorporate this into the theme template. You can find specific how to information here: http://www.wptavern.com/forum/themes-templates/1346-creating-upload-function-options-page.html http://stuntsnippets.com/wordpress-custom-theme-options/ Unfortunately I get stuck getting this to work. I would need a copy and paste solution that works with the above linked Options page tutorial. An image preview functionality is preferred, but not necessarily required. Thanks! Solution - 1Change |
Wordpress |
Type: | Code Example |
Category: | Coding |
Sub Category: | Code Example |
Uploaded by: | Admin |
Views: | 8 |