Some action in get_header and footer
git-svn-id: https://develop.svn.wordpress.org/trunk@4371 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
ee977aca6c
commit
29cbad678d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user