mh_impact_lite_posts_pagination

The MH Impact lite mh impact lite posts pagination function.

Description

mh_impact_lite_posts_pagination( $content ); 

Parameters (1)

0. $content
The content.

Usage

  1. if ( !function_exists( 'mh_impact_lite_posts_pagination' ) ) { 
  2. require_once '/includes/mh-custom-functions.php'; 
  3.  
  4. // The content. 
  5. $content = null; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = mh_impact_lite_posts_pagination($content); 
  9.  

Defined (1)

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

/includes/mh-custom-functions.php  
  1. function mh_impact_lite_posts_pagination($content) { 
  2. if (is_singular() && is_main_query()) { 
  3. $content .= wp_link_pages(array('before' => '<div class="pagination clear">', 'after' => '</div>', 'link_before' => '<span class="pagelink">', 'link_after' => '</span>', 'nextpagelink' => __('»', 'mh-impact-lite'), 'previouspagelink' => __('«', 'mh-impact-lite'), 'pagelink' => '%', 'echo' => 0)); 
  4. return $content;