Support » Plugin: Options Framework » [Plugin: Options Framework] Options not saving

  • Resolved alex27

    (@alex27)


    Hello!

    I included Options Framework in my free theme – Gamepress
    Some users reported to me, that they are unable to save the options – after save everythig stays the way it was.
    I can’t recreate this problem on either of my two test installations, for me everything works just fine. What could be the reason for this behaviour?

    http://wordpress.org/extend/plugins/options-framework/

Viewing 4 replies - 1 through 4 (of 4 total)
  • alex27

    (@alex27)

    Ok, I managed to recreate the situation on one of the servers. It seems taht options are saved just fine (I checked directly in database). But when I call of_get_option() function for a specific option, it returns false.

    alex27

    (@alex27)

    I solved my own problem 🙂 It turns out I changed option name from ‘optionsframework’ to ‘gamepress’ in options.php. Still I don’t understand why it worked on some websites…

    Anyway, thanks for this great plugin!

    Plugin Author Devin Price

    (@downstairsdev)

    The “optionsframework” option name is used by the Options Framework to keep track of which option names it has saved options to (if that makes any sense). So I definitely think it’s a good idea you explicitly set it as your theme name.

    alex27

    (@alex27)

    Yes, but in addition to that some changes would have to be made to of_get_option function. I didn’t want to do that in case I wanted to update framework in the future, because I would also have to remember to change this function again…

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: Options Framework] Options not saving’ is closed to new replies.