119 posts
  • Attended a Community Meetup
  • Author had a File in an Envato Bundle
  • Bought between 50 and 99 items
  • Elite Author
  • Envato Staff
  • Exclusive Author
  • Has been a member for 5-6 years
+3 more
valendesigns Staff says

Hey Chris,

I answered your questions on Twitter but for the benefit of everyone here I’ll repeat it.

You asked about auto import and were experiencing some issues. Auto import works under the assumption you are upgrading from a 1.x to 2.0.8 and have not done any of the in between version as the ‘option_tree_settings’ already exists. Also, if you activate OT before activating your theme the default options will already be loaded and thus stop the auto import. We did chat about adding a force import button on the import page which I am looking into for those that need it after installing any of the 2.0 – 2.0.7 versions. That will be coming shortly. Otherwise, everything should be working well now and issues where it’s not auto imported are due to the above reasons.

Cheers, Derek

119 posts
  • Attended a Community Meetup
  • Author had a File in an Envato Bundle
  • Bought between 50 and 99 items
  • Elite Author
  • Envato Staff
  • Exclusive Author
  • Has been a member for 5-6 years
+3 more
valendesigns Staff says

Derek, let me also thank you very much for this plugin!

i have a question regarding the new OT version:

in v 1.8.1 you`ve removed get_option_tree() in the WordPress admin area due to theme conflicts.

can i use the new 2.0+ version in the Admin area, to add for example Header & Footer logos ? (and also maybe a custom login logo)

thanks, andi

The get_option_tree() & ot_get_option() functions are both available in the admin area and front-end. However, use the ot_get_option() function instead as it’s the one that will be support in future versions, not to mention it’s a bit more flexible than the old one.

119 posts
  • Attended a Community Meetup
  • Author had a File in an Envato Bundle
  • Bought between 50 and 99 items
  • Elite Author
  • Envato Staff
  • Exclusive Author
  • Has been a member for 5-6 years
+3 more
valendesigns Staff says

@theMOLITOR @Ayoubiz Thank you very much for the donations!

3449 posts Ruben Bristian
  • Most Wanted Bounty Winner
  • Elite Author
  • Sold between 250 000 and 1 000 000 dollars
  • Has been a member for 6-7 years
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Won a Competition
  • Bought between 100 and 499 items
  • Exclusive Author
  • Referred between 500 and 999 users
+5 more
KrownThemes says

I’m trying to hide some fields from a List, through jQuery. I’m checking for a “select” field from that List and based on it’s value i hide various fields. I’ve managed to do most of it, but i can’t select a textarea, because it doesn’t have a class applied to it. All the other fields that i’ve used(text & upload) have custom classes applied, but the textarea doesn’t have any class(even if i set one)..

Is this intentional or it is a bug? Or i’m not doing it right?

Thanks for your help!

119 posts
  • Attended a Community Meetup
  • Author had a File in an Envato Bundle
  • Bought between 50 and 99 items
  • Elite Author
  • Envato Staff
  • Exclusive Author
  • Has been a member for 5-6 years
+3 more
valendesigns Staff says

I’m trying to hide some fields from a List, through jQuery. I’m checking for a “select” field from that List and based on it’s value i hide various fields. I’ve managed to do most of it, but i can’t select a textarea, because it doesn’t have a class applied to it. All the other fields that i’ve used(text & upload) have custom classes applied, but the textarea doesn’t have any class(even if i set one)..

Is this intentional or it is a bug? Or i’m not doing it right?

Thanks for your help!

I’ll take a look at it and push it up in the next version.

3449 posts Ruben Bristian
  • Most Wanted Bounty Winner
  • Elite Author
  • Sold between 250 000 and 1 000 000 dollars
  • Has been a member for 6-7 years
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Won a Competition
  • Bought between 100 and 499 items
  • Exclusive Author
  • Referred between 500 and 999 users
+5 more
KrownThemes says

Hi Derek

I’m doing something wrong.. i can’t manage to get info from the metaboxes.. What should i do? If i’m using the ot_get_option() function i get nothing, so i’m obviously doing something wrong..

3256 posts
  • Elite Author
  • Sold between 250 000 and 1 000 000 dollars
  • Exclusive Author
  • Interviewed on the Envato Notes blog
  • Beta Tester
  • Author had a File in an Envato Bundle
  • Author had a Free File of the Month
+4 more
ParkerAndKent says

Hi Derek I’m doing something wrong.. i can’t manage to get info from the metaboxes.. What should i do? If i’m using the ot_get_option() function i get nothing, so i’m obviously doing something wrong..

Ruben, metaboxes handle custom fields, not options, so you should use get_post_meta($post_id, $key, $single);

So get_post_meta($post_id, ‘my_meta_option’, true);

Parker

3256 posts
  • Elite Author
  • Sold between 250 000 and 1 000 000 dollars
  • Exclusive Author
  • Interviewed on the Envato Notes blog
  • Beta Tester
  • Author had a File in an Envato Bundle
  • Author had a Free File of the Month
+4 more
ParkerAndKent says

Additionally,

if metaboxes were handling options like for the theme options, you would have the same option for each post with that custom meta, so in that case would be impossible to set a specific and different value for each post, but you would have a global value… and that wouldn’t be that cool :)

Parker

3449 posts Ruben Bristian
  • Most Wanted Bounty Winner
  • Elite Author
  • Sold between 250 000 and 1 000 000 dollars
  • Has been a member for 6-7 years
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Won a Competition
  • Bought between 100 and 499 items
  • Exclusive Author
  • Referred between 500 and 999 users
+5 more
KrownThemes says

of course .. i’m so stupid! :D thanks Parker!

332 posts
  • Exclusive Author
  • Sold between 5 000 and 10 000 dollars
  • Has been a member for 4-5 years
  • Europe
  • Envato Studio (Microlancer) Beta Tester
  • Bought between 1 and 9 items
  • Referred between 1 and 9 users
dekciw says

Is there a way to prepopulate list-item option, with list items which have different settings in them? :)

by
by
by
by
by
by