WordPress.org

Ready to get started?Download WordPress

Forums

OptionTree
[resolved] Options re-ordering (5 posts)

  1. joshuacamp
    Member
    Posted 2 years ago #

    When reordering options in the Theme Options UI Builder panel, saving the re-ordered set truncates the list of options to the first 89 options or so. I have around 140 so laying out a PHP file will take me hours to say the least.

    Regardless, the new UI is beautiful - very pretty work!

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

  2. Derek Herman
    Member
    Plugin Author

    Posted 2 years ago #

    Someone else had this problem and I suspect it's an issue with the DB limiting the characters allowed in an option in the wp_options table. Can you send an export of your old 1.1.8.1 xml file to derek[at]valendesigns.com

  3. Derek Herman
    Member
    Plugin Author

    Posted 2 years ago #

    Please check your mysql using phpMyAdmin or other means and see what the 'option_value' field type in the 'wp_options' table is being set as. it should be 'longtext'.

  4. joshuacamp
    Member
    Posted 2 years ago #

    'option_value' is correct and has no char limit set. I've sent the XML file, but everything looks correct other than the order since adding a second round of options. THe file contains only ~100 options now and still has the same issues. I'm going to set-up the php file regardless, and may just go ahead and fast track that rather than wasting 20 minutes manually moving the order in the XML.

    What I'm attempting to do (when you see the XML it'll make sense) is to simply reorder the CTA and Latest Tweet options so they appear before the "Override options for logged-in users" section. Easy enough in the XML file, but it would be fantastic to have it work in the option tree panel for adding more options in the future.

    Thanks again,
    -Josh

  5. Derek Herman
    Member
    Plugin Author

    Posted 2 years ago #

    Use 2.0.8 to build your UI and then export to theme-options.php which you can now include into the functions.php and it should solve all your issues. You can read more in the OptionTree->Documentation->Theme Mode section of the help docs.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic