[wp-hackers] Theme global variable/constant...
casey.bisson at gmail.com
Fri Aug 10 13:52:29 UTC 2012
You can define those in your theme's functions.php, though you might also consider defining some functions there instead.
On Aug 9, 2012, at 9:15 PM, Micky Hulse <mickyhulse.lists at gmail.com> wrote:
> Silly question: What would be the best way to setup a global theme
> variable and/or constant?
> I'm building a theme, and I'd like to setup a few vars/consts that my
> theme templates can access.
> Would the theme's functions.php file be the best spot to set/define these?
> Sorry if stupid question.
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
More information about the wp-hackers