119 posts
  • Has been part of the Envato Community for over 6 years
  • Has referred 50+ members
  • Has sold $75,000+ on Envato Market and is now an Elite Author
  • Had an item featured in an Envato Bundle
+8 more
valendesigns Envato team 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
  • Has been part of the Envato Community for over 6 years
  • Has referred 50+ members
  • Has sold $75,000+ on Envato Market and is now an Elite Author
  • Had an item featured in an Envato Bundle
+8 more
valendesigns Envato team 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
  • Has been part of the Envato Community for over 6 years
  • Has referred 50+ members
  • Has sold $75,000+ on Envato Market and is now an Elite Author
  • Had an item featured in an Envato Bundle
+8 more
valendesigns Envato team says

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

3696 posts Ruben Bristian
  • Sells items exclusively on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $500,000+ on Envato Market
  • Has been part of the Envato Community for over 6 years
+10 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
  • Has been part of the Envato Community for over 6 years
  • Has referred 50+ members
  • Has sold $75,000+ on Envato Market and is now an Elite Author
  • Had an item featured in an Envato Bundle
+8 more
valendesigns Envato team 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.

3696 posts Ruben Bristian
  • Sells items exclusively on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $500,000+ on Envato Market
  • Has been part of the Envato Community for over 6 years
+10 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
  • Has referred 100+ members
  • Has sold $250,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
+9 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
  • Has referred 100+ members
  • Has sold $250,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
+9 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

3696 posts Ruben Bristian
  • Sells items exclusively on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $500,000+ on Envato Market
  • Has been part of the Envato Community for over 6 years
+10 more
KrownThemes says

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

332 posts
  • Has referred 1+ members
  • Has sold $5,000+ on Envato Market
  • Has been a beta tester for an Envato feature
  • Has collected 1+ items on Envato Market
+2 more
dekciw says

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

Helpful Information

  • Please read our community guidelines. Self promotion and discussion of piracy is not allowed.
  • Open a support ticket if you would like specific help with your account, deposits or purchases.
  • Item Support by authors is optional and may vary. Please see the Support tab on each item page.

Most of all, enjoy your time here. Thank you for being a valued Envato community member.

Post Reply

Format your entry with some basic HTML. Read the Full Details, or here is a refresher:

<strong></strong> to make things bold
<em></em> to emphasize
<ul><li> or <ol><li> to make lists
<h3> or <h4> to make headings
<pre></pre> for code blocks
<code></code> for a few words of code
<a></a> for links
<img> to paste in an image (it'll need to be hosted somewhere else though)
<blockquote></blockquote> to quote somebody

:grin: :shocked: :cry: Complete List of Smiley Codes

by
by
by
by
by
by