WordPress.org

Forums

OptionTree
Option tree limit (6 posts)

  1. umang
    Member
    Posted 2 years ago #

    Option tree is not allowing me to add option more then 150?
    can u please help me with this

    http://wordpress.org/extend/plugins/option-tree/

  2. Yojance Rabelo
    Member
    Posted 2 years ago #

    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.

  3. Esteban
    Member
    Posted 2 years ago #

  4. Derek Herman
    Member
    Plugin Author

    Posted 2 years ago #

    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.

  5. hozefze
    Member
    Posted 2 years ago #

    @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(...)

  6. Derek Herman
    Member
    Plugin Author

    Posted 2 years ago #

    @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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.