megaresponsive_lite_content_nav_posts

Nav post in single page.

Description

megaresponsive_lite_content_nav_posts(); 

Usage

  1. if ( !function_exists( 'megaresponsive_lite_content_nav_posts' ) ) { 
  2. require_once '/inc/template-tags.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = megaresponsive_lite_content_nav_posts(); 
  7.  

Defined (1)

The function is defined in the following location(s).

/inc/template-tags.php  
  1. function megaresponsive_lite_content_nav_posts() { 
  2. ?>  
  3.  
  4. <div class="navigation-single"> 
  5. <div class="alignright"> 
  6. <?php next_post_link('%link', __( 'Next post', 'megaresponsive-lite' ), TRUE); ?>  
  7. </div> 
  8. <div class="alignright"> 
  9. <?php previous_post_link('%link', __( 'Previous post', 'megaresponsive-lite' ), TRUE); ?>  
  10. </div> 
  11. </div> <!-- end navigation -->  
  12.  
  13. <?php