omni1787 — 2013-03-12T10:20:52-04:00 — #1
I was learning Wordpress theme development. I saw this function used at many places. I tried to do some research from Wordpress site but couldn't get clear idea. Can somebody throw more light on it?
cpradio — 2013-03-12T10:32:41-04:00 — #2
Seems to be part of the options framework plugin - http://wptheming.com/options-framework-plugin/
omni1787 — 2013-03-12T10:39:21-04:00 — #3
yes. I already saw this video but don't understand this plugin is not installed with the theme I am learning from then how it is calling it's functions.
cpradio — 2013-03-12T10:44:04-04:00 — #4
No idea, it could be using the Options Framework Theme Kit?
cpradio — 2013-03-12T10:50:31-04:00 — #5
In fact, that looks to be what they did. They used the options framework theme kit to build their theme, which includes the of_get_option() function. Also looks like it is providing a mechanism for reading theme configuration items, but that is purely my understanding of it (as I've never used it myself).