Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End Incuding a .php on every page without include() Re: Incuding a .php on every page without include()

#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' );