WordPress.org

Ready to get started?Download WordPress

Forums

saving theme options with multisite (3 posts)

  1. housebg
    Member
    Posted 2 years ago #

    I'm creating an options panel for my theme, and I'm currently testing on a standalone blog, with my options being recorded into wp_options as they should be.

    But then I remembered I want to use this theme on multisite, so each blog will end up having a different options table.

    Is there anything I need to do to ensure my custom options are saved correctly in the multisite environment?

  2. As long as you are using add_option(), get_option(), update_option(), etc. it should be fine. As you've said the individual sites have their own options table.

    Now, if you are writing to a table called wp_options directly... but I'm sure you're more sensible than that... ;)

  3. housebg
    Member
    Posted 2 years ago #

    Well I am, but this options framework I just tried to integrate into my theme to save some time sure isn't. :-(

    The lack of support it's pretty amazing. It's like multisite is the unwanted cranky siter-in-law or something...

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.