I have a website in wordpress, thema is TOTAL. In the pagination of this theme are the page numbers and the arrows before and next. What I want is to replace this paging with a load button, where the user will click to load more posts and portfolio.
In short, replace the default paging for a load button more.
I found that the file that loads the portfolio is vcex_portfolio_grid.php
The paging area is this here:
// Display pagination if enabled
if ( 'true' == $atts['pagination']
|| ( 'true' == $atts['custom_query'] && ! empty( $wpex_query->query['pagination'] ) )
) {
$output .= wpex_pagination( $wpex_query, false );
}
$output .= '</div>';
// Reset the post data to prevent conflicts with WP globals
wp_reset_postdata();