BUT now I have another problem: How to populate correctly the IMAGE upload fields?
I am using my localhost for development, but when exporting, final user just gets a file with images pointing to my “localhost”.
Shameful Bump
Anyone can shed some light ^^ here? Much appreciated.
shaki said
BUT now I have another problem: How to populate correctly the IMAGE upload fields?I am using my localhost for development, but when exporting, final user just gets a file with images pointing to my “localhost”.
Shameful BumpAnyone can shed some light ^^ here? Much appreciated.
why not do a search & replace in mysql?
EireStudio said
shaki saidwhy not do a search & replace in mysql?
BUT now I have another problem: How to populate correctly the IMAGE upload fields?I am using my localhost for development, but when exporting, final user just gets a file with images pointing to my “localhost”.
Shameful BumpAnyone can shed some light ^^ here? Much appreciated.
Not sure if that answers my question. Maybe I didn’t explain it correctly:
I am developing the theme using OptionTree. When exporting I nned my customers to be able to upload the theme (ZIP) and have some images in place.
I can’t do this cause my image files point to my localhost.
Another great tutorial, keep up the good work!
- Microlancer Beta Tester
- Sold between 100 000 and 250 000 dollars
- Most Wanted Bounty Winner
- Author was Featured
- Repeatedly Helped protect Envato Marketplaces against copyright violations
- Bought between 10 and 49 items
- Exclusive Author
- Has been a member for 2-3 years
Is there an updated version of this somewhere? The plugin has since been heavily changed and the lines / references are not even close anymore.
Furher, I think the Options Tree plugin would better serve most of TF as a blank theme / dev file instead of a plugin. You simply drag the options-tree / admin folder into your theme, include whats needed in the functions.php and you are ready to roll.
- Notice :
- If you’ve already developing a theme make a DB backup to avoid loosing your work

Hi all,
I’m trying to learn how to use theme options. I can get the Option Tree working, create options etc, but say I want to make it so that the user uploads an image to replace the logo. Do I put the code in the header? I know this is a very easy simple question, but again I’m learning. Trying to teach myself.
Are there any screenshots or video tutorials that anyone have found? I’m an extreamely visual person.
Thanks!
- Microlancer Beta Tester
- Author had a File in an Envato Bundle
- Author was Featured
- Bought between 50 and 99 items
- Exclusive Author
- Has been a member for 3-4 years
- Item was Featured
- Sold between 100 000 and 250 000 dollars
renderinnovations saidYou should use optiontree 2 . It s much easier to use
Hi all,I’m trying to learn how to use theme options. I can get the Option Tree working, create options etc, but say I want to make it so that the user uploads an image to replace the logo. Do I put the code in the header? I know this is a very easy simple question, but again I’m learning. Trying to teach myself.
Are there any screenshots or video tutorials that anyone have found? I’m an extreamely visual person.
Thanks!
Also, look into the UPLOAD type in the docs
With OT 2, there is no option-tree/index.php
Hello ThemeProvince,
You mentioned there is an index.php file inside option-tree folder. But I have downloaded recently there is no any index.php file. There is ot-loader.php file.
is that same file? if yes please confirm which lines have to replace.
Thanks
