Make twentyeleven_content_nav() pluggable. props adeptris, SergeyBiryukov. fixes #18585.

git-svn-id: http://svn.automattic.com/wordpress/trunk@19242 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
nacin 2011-11-10 18:41:05 +00:00
parent 132097032e
commit a285efe6e3
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.