diff --git a/wp-includes/general-template.php b/wp-includes/general-template.php index bd3d6d47c..cc880c58d 100644 --- a/wp-includes/general-template.php +++ b/wp-includes/general-template.php @@ -3,6 +3,7 @@ /* Note: these tags go anywhere in the template */ function get_header() { + do_action( 'get_header' ); if ( file_exists( TEMPLATEPATH . '/header.php') ) load_template( TEMPLATEPATH . '/header.php'); else @@ -11,6 +12,7 @@ function get_header() { function get_footer() { + do_action( 'get_footer' ); if ( file_exists( TEMPLATEPATH . '/footer.php') ) load_template( TEMPLATEPATH . '/footer.php'); else