advantage_content_nav

Pagination for main loop.

Description

advantage_content_nav( $nav_id ); 

Parameters (1)

0. $nav_id
The nav id.

Usage

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

Defined (1)

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

/functions.php  
  1. function advantage_content_nav( $nav_id ) { 
  2. global $wp_query; 
  3. advantage_content_nav_link( $wp_query->max_num_pages, $nav_id );