Home › Forums › Back End › Incuding a .php on every page without include() › Re: Incuding a .php on every page without include()
March 24, 2011 at 2:45 pm
#53994
TheLeggett
Member
It’s loaded in the wp-settings.php file.
// Load the functions for the active theme, for both parent and child theme if applicable.
if ( TEMPLATEPATH !== STYLESHEETPATH && file_exists( STYLESHEETPATH . '/functions.php' ) )
include( STYLESHEETPATH . '/functions.php' );
if ( file_exists( TEMPLATEPATH . '/functions.php' ) )
include( TEMPLATEPATH . '/functions.php' );