cwpmegar_content_nav

Nav post in single page.

Description

cwpmegar_content_nav(); 

Usage

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

Defined (1)

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

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