WordPress.org

Support

Support » Plugins and Hacks » OptionTree » [Resolved] Import OptionTree values from database

[Resolved] Import OptionTree values from database

  • I recently moved my WordPress site from /wordpress to the root. Upon loading the site in its new location, all OptionTree values had been lost. The theme settings were all their, but they were all empty. I didn’t make a backup from within OptionTree, sadly, but I did make a backup of the database. And I noticed that the option_tree table looked different in the backup. So I thought I could just replace the new option_tree value with the old. But it does not work. Is there a way I can import my settings stored directly in the database? Thanks!

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

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

    @valendesigns

    What version of OT are you using?

    2.0.9

    Plugin Author Derek Herman

    @valendesigns

    If you’ve were using 2.0.9 in the backup you would do the following:

    In the old DB you can copy the contents of the option_value that’s option_name equals option_tree that’s saved in the wp_options table and paste it into the option of the same in the new DB. Also, you’ll need to do the same for the option_tree_settings that is stored in the same table. Both need to be replaced for everything to go back to normal. I hope that make sense?

    Hmm I guess I only tried those values individually before refreshing in the admin–never both at once. Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] Import OptionTree values from database’ is closed to new replies.
Skip to toolbar