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:
rob1n 2007-03-29 01:45:29 +00:00
parent 9f0ebcd37e
commit fcb2f9db91
1 changed files with 1 additions and 0 deletions

View File

@ -21,6 +21,7 @@ function get_footer() {
function get_sidebar() { function get_sidebar() {
do_action( 'get_sidebar' );
if ( file_exists( TEMPLATEPATH . '/sidebar.php') ) if ( file_exists( TEMPLATEPATH . '/sidebar.php') )
load_template( TEMPLATEPATH . '/sidebar.php'); load_template( TEMPLATEPATH . '/sidebar.php');
else else