Support » Plugin: OptionTree » [Plugin: OptionTree] Option tree limit

Viewing 5 replies - 1 through 5 (of 5 total)
  • I ran into similar problems when I tried adding settings which were Select types and had around 32 different drop-down options each.

    After adding a couple of these and hitting save, I started losing these settings and had to start over again. Second time it happened I moved my code to theme-options.php and continued adding my options in the arrays and now there are no problems.

    Plugin Author Derek Herman

    (@valendesigns)

    The fact is that not all environments are not created equal. I can save hundreds of options in the UI builder without a single issue. However, with that said. If you’re going to save 150 options you really should not be relying on the UI builder, and if you do, back up you array so you don’t have to start over if something does happen. I’m sorry you’re having trouble but without concrete reasons for why this happens to some and not others there’s no way to fix it. I wish it was simple, but it’s not.

    @derek you should really consider giving the option to save/set one option/setting at a time.

    For example for my theme I want to set to one of the settings a specific value but I don’t want to change nor erase all of the other, and in the current form this is not possible.

    I know I can make an array compare with the one from get_option(‘option_tree’) etc. but that should definitely be done by OptionTree in a helper function like set_ot_option(…)

    Plugin Author Derek Herman

    (@valendesigns)

    @hozefze That seems to be a completely separate issue than what this post is describing. However, you should consider creating an issue/request over at github so we can discuss the best way to add that feature.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: OptionTree] Option tree limit’ is closed to new replies.