Here goes my another article for wp tuts. This time I have submitted the quick tip with which we can create global options in the wordpress theme.
For getting the Home URL we just use [code]get_option(‘home’)[/code] which give us url of the home page. But what if you want to create other such options?
Here is the quick tip which gives you the direction for the same.
What you will get after this tips?
You can create your custom options for your wordpress theme.
For example, for twitter ID you can create custom options and you can use like get_option(‘twitter_id’).
Have a look at this full article where you can see full detailed explanation of the code.
[…] we can create global options in the wordpress theme. PHP Read the original post on DZone… […]