Pagination – modify label (first, last, prev, next) in the “Normal” pagination

Please add this code to file functions.php in the theme’s folder:

// Content Views - Modify pagination label: first, last, prev, next
add_filter( 'pt_cv_pagination_label', 'cvp_theme_pagination_text', 100, 1 );
add_filter( 'pt_cv_pagination_text', 'cvp_theme_pagination_text', 100, 1 );
function cvp_theme_pagination_text( $args ) {
	$args[ 'first' ] = 'First_text_here';
	$args[ 'last' ]	 = 'Last_text_here';
	$args[ 'prev' ]	 = 'Previous_text_here';
	$args[ 'next' ]	 = 'Next_text_here';

	return $args;
}

Best regards,

Scroll to Top