212 posts
  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 4-5 years
  • Portugal
shaki says

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 :nerdy: Anyone can shed some light ^^ here? Much appreciated.

962 posts
  • Bought between 100 and 499 items
  • Exclusive Author
  • Has been a member for 5-6 years
  • Ireland
  • Sold between 10 000 and 50 000 dollars
EireStudio says
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 Bump :nerdy: Anyone can shed some light ^^ here? Much appreciated.

why not do a search & replace in mysql?

212 posts
  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 4-5 years
  • Portugal
shaki says
EireStudio said
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 Bump :nerdy: Anyone can shed some light ^^ here? Much appreciated.
why not do a search & replace in mysql?

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.

194 posts Dreams Money Can Buy
  • Power Elite Author
  • Power Elite Author: Sold between 1 000 000 - 1 999 999 dollars
  • Bought between 10 and 49 items
  • Referred between 200 and 499 users
  • United Kingdom
  • Has been a member for 3-4 years
  • Exclusive Author
SwiftIdeas says

Another great tutorial, keep up the good work!

725 posts WordPress Ninja
  • Envato Studio (Microlancer) Beta Tester
  • Elite Author
  • Sold between 100 000 and 250 000 dollars
  • Most Wanted Bounty Winner
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Bought between 10 and 49 items
  • Exclusive Author
+3 more
TylerQuinn says

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.

7 posts
  • Has been a member for 3-4 years
  • Exclusive Author
  • Sold between 1 and 100 dollars
  • Europe
TuniDesign says
Quick & Useful !
      Notice :
      If you’ve already developing a theme make a DB backup to avoid loosing your work ;)
    Thanks for the help…
renderinnovations
renderinnovations Recent Posts Threads Started
2 posts
  • Bought between 100 and 499 items
  • Exclusive Author
  • Has been a member for 2-3 years
  • Referred between 1 and 9 users
renderinnovations says

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!

1593 posts Building the Web.
  • Elite Author
  • Sold between 250 000 and 1 000 000 dollars
  • Exclusive Author
  • Author had a File in an Envato Bundle
  • Most Wanted Bounty Winner
  • Bought between 50 and 99 items
  • Has been a member for 4-5 years
+2 more
ZoomIt says

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!
You should use optiontree 2 . It s much easier to use

Also, look into the UPLOAD type in the docs

1672 posts Multimedia Artistry
  • Author had a Free File of the Month
  • Has been a member for 3-4 years
  • Referred between 100 and 199 users
  • Bought between 10 and 49 items
  • Exclusive Author
  • Most Wanted Bounty Winner
  • Elite Author
  • Sold between 100 000 and 250 000 dollars
dnp_theme says

With OT 2, there is no option-tree/index.php

2 posts
  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 3-4 years
Umeed says

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

by
by
by
by
by
by