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:
parent
132097032e
commit
a285efe6e3
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue