Sorry for another question. I’m a designer and not much a coder. Is there a solution for that. or has anyone a simple way to do that:
Awesome plugin, transition went smoothly.
I have a question, what is the best way to add default value so that when the user activate the theme, it automatically come packed with optiontree + my options + my default value for these options.
I’ve added the entire option-tree folder in the root of my theme, I’ve added the code to reference it in my functions.php, I’ve exported my theme-options.php file, I’ve added it in the theme and referenced it in my functions.php.
When testing on a fresh WP install, option tree is there, my options are there, but they are blank and I can’t access my layouts. So the user can’t choose a predefined sets of value for the options, and they can’t upload any layouts information .. the only way is to have them install the plugin so they can import some layouts data.
Is there a better way?Thanks!
oh sorry, my version was not up to date. it works great
But I still want to integrate an Import function for dummy data. Is there an easy way to do that?
Just wanted to say that I was always a little bit sceptic for Options Tree (version 1) and preferered my own solution, but I’ve started yesterday to dig into it and play a little bit – IT IS AWESOME ! Thank you Derek, you’re amazing!
Very good job, i tried and it worked perfect , this plugin save a lot of times! thank you.
I know that TinyMCE can’t be used if DOM is loaded so it’s not possible to have it in List Item when we add new element with textarea, but would it be possible to use it if we already have saved this element of List Items?
Hello, i`m not sure if this is the right place, but i`d like to suggest some very small improvements.
1. it seems that themes with OT included are getting soft-rejected because of: - REQUIRED : get_settings found in the file ot-settings-api.php. Deprecated since version 2.1. Use get_option() instead.
would it be possible to update the ot-settings-api.php file, so there won`t be any more problems in the future?
2. would it be possible to add a custom class to the Textblock items (Admin – OT – Settings) , so we can color-code Textblock items? for example, i use Textblock items to add a separator between subsections in each Section. i`d like this textblock to be an other color, so i can see where my separators are.
a custom class on textblock items would be sufficient, and i could write my own CSS .
thanks in advance, andi
Thank you so much valendesigns, the OptionTree is very awesome!
I’m trying to be familiar of implementing it. I’m new to the world of WordPress theme development but I’ve then realized that I found the magical tool here!
Really appreciate your hard work.
Hmm. Just wondering that is it possible to create the submenu or tab for each Section? I think the answer may be yes but after digging into the codes I’m just lost…
Could you guys please give me some guidance to achieve this?
OptionTree 2.0 has some great updates and the feature for the support of google webfonts will make it perfect.
Is it possible to have an event for the saving action? In your previous OT version you had a function like this in the /classes/class.admin.php file, around line 610 :
Inside this function i’ve added a call to an external function which would take some values from the Theme Options and write a file with them.
I still want to do this in my themes so i was wondering if there is a better way to do it that alter the main code.