• I’d like request that the options added to and/or updated in the WordPress Database be added using a json encoding.

    Currently it saves each field with it’s own row of data in the wp_option_tree table. Using just the sample set-up (importing the xml) you are left with 19 seperate rows in the table.

    My suggestion is to store each section created (Header) as a row in the data table, and all input elements in that heading stored in the (Header) row.

    This would make it easier to implement in to wordpress’s default table: wp_options instead of needing to create a whole new table.

    Maybe I’m just not understanding your logic. I’d welcome information!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Derek Herman

    (@valendesigns)

    I understand the question and have given it thought in the past. However, the table is only for the options themselves not the theme option data. The table is only used in the admin area for building the interface, it’s very little overhead. The actual options data, layouts, arrays are in the wp_option table and is what the front-end is querying. I will change the table in the future but I have to be sure it doesn’t break anything, so I’ve left it alone for now since it’s not critical to change it.

    loyal2design

    (@loyal2design)

    Dear Derek,

    First of all… thanks for your amazing plugin, it has helped so much so far!

    Nog a small question:

    I need to know how to backup the OptionTree settings also… where can i export one of those “theme-options.txt” ?
    (I know there is a possibility for .xml, but i’ve seen themes with default option tree settings in a theme-options.txt but it’s some kind of encrypted code.

    Where can i find / generate my theme-options.txt to include with themes?

    Thanks in advance!

    -Joe

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: OptionTree] Request: Save Options in Array’ is closed to new replies.