mh_posts_pagination

The MH Corporate lite mh posts pagination function.

Description

mh_posts_pagination( $content ); 

Parameters (1)

0. $content
The content.

Usage

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

Defined (1)

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

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