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:
Andrew Nacin 2011-11-10 18:41:05 +00:00
parent 00d6cc1e1b
commit c69fd63823
1 changed files with 2 additions and 0 deletions

View File

@ -421,6 +421,7 @@ function twentyeleven_widgets_init() {
}
add_action( 'widgets_init', 'twentyeleven_widgets_init' );
if ( ! function_exists( 'twentyeleven_content_nav' ) ) :
/**
* Display navigation to next/previous pages when applicable
*/
@ -435,6 +436,7 @@ function twentyeleven_content_nav( $nav_id ) {
</nav><!-- #nav-above -->
<?php endif;
}
endif; // twentyeleven_content_nav
/**
* Return the URL for the first link found in the post content.