Add get_sidebar action to get_sidebar(). fixes #1445
git-svn-id: https://develop.svn.wordpress.org/trunk@5136 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
9f0ebcd37e
commit
fcb2f9db91
@ -21,6 +21,7 @@ function get_footer() {
|
||||
|
||||
|
||||
function get_sidebar() {
|
||||
do_action( 'get_sidebar' );
|
||||
if ( file_exists( TEMPLATEPATH . '/sidebar.php') )
|
||||
load_template( TEMPLATEPATH . '/sidebar.php');
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user