I look up a custom post field value in header.php, and store it in a global variable.
In most of my template files, the includes go like this:
include header
...do a bunch of stuff
include sidebar
include footer
I can not persist the variable into the footer.php file...
is there any way to do this so that I can avoid having to call back to the database again to look up the custom field value again?