mh_newsdesk_lite_pagination

The MH Newsdesk lite mh newsdesk lite pagination function.

Description

mh_newsdesk_lite_pagination(); 

Usage

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

Defined (1)

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

/includes/mh-custom-functions.php  
  1. function mh_newsdesk_lite_pagination() { 
  2. if (get_the_posts_pagination()) { 
  3. echo '<div class="mh-loop-pagination clearfix">'; 
  4. the_posts_pagination(array( 
  5. 'mid_size' => 1,  
  6. 'prev_text' => esc_html__('«', 'mh-newsdesk-lite'),  
  7. 'next_text' => esc_html__('»', 'mh-newsdesk-lite'),  
  8. )); 
  9. echo '</div>';