mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 01:27:36 +01:00
Some action in get_header and footer
git-svn-id: http://svn.automattic.com/wordpress/trunk@4371 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
df4be26fb0
commit
d26379af97
@ -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