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?
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.
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.
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 ‘[Resolved] [Plugin: Options Framework] Options not saving’ is closed to new replies.