Pagination – Change number of pages to show

Currently, Content Views show 5 pages in pagination.
To adjust the number of pages, please add this code to file functions.php of your active theme:

// Content Views - Change number of pagination pages
add_filter( 'pt_cv_pages_to_show', 'cvp_theme_pages_to_show', 100, 1 );
function cvp_theme_pages_to_show( $args ) {
	$args = 10;
	return $args;
}

Thank you,

Scroll to Top