[wp-hackers] Theme global variable/constant...
Casey Bisson
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.
--Casey
On Aug 9, 2012, at 9:15 PM, Micky Hulse <mickyhulse.lists at gmail.com> wrote:
> Hello,
>
> 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.
>
> M
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
More information about the wp-hackers
mailing list