Support » Plugins and Hacks » Global variables for use in the sidebar?
8 years, 5 months ago
Wondering how to get my dynamic sidebars to be able to access my global variables?
I would love for a widget to be able to use a global variable that I declare in header.php
Thy using the following in your theme pages instead of:
include (TEMPLATEPATH . "/header.php");
include (TEMPLATEPATH . "/sidebar.php");
include (TEMPLATEPATH . "/footer.php");
I didn’t ask the original question, but that works. Thanks