Make twentyeleven_content_nav() pluggable. props adeptris, SergeyBiryukov. fixes #18585.
git-svn-id: https://develop.svn.wordpress.org/trunk@19242 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
00d6cc1e1b
commit
c69fd63823
|
@ -421,6 +421,7 @@ function twentyeleven_widgets_init() {
|
||||||
}
|
}
|
||||||
add_action( 'widgets_init', 'twentyeleven_widgets_init' );
|
add_action( 'widgets_init', 'twentyeleven_widgets_init' );
|
||||||
|
|
||||||
|
if ( ! function_exists( 'twentyeleven_content_nav' ) ) :
|
||||||
/**
|
/**
|
||||||
* Display navigation to next/previous pages when applicable
|
* Display navigation to next/previous pages when applicable
|
||||||
*/
|
*/
|
||||||
|
@ -435,6 +436,7 @@ function twentyeleven_content_nav( $nav_id ) {
|
||||||
</nav><!-- #nav-above -->
|
</nav><!-- #nav-above -->
|
||||||
<?php endif;
|
<?php endif;
|
||||||
}
|
}
|
||||||
|
endif; // twentyeleven_content_nav
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Return the URL for the first link found in the post content.
|
* Return the URL for the first link found in the post content.
|
||||||
|
|
Loading…
Reference in New Issue