Problem with pagination link (error 404)

I have something here that I used on the website of a real estate agency You’re already using Bootstrap. But, take a look https://getbootstrap.com/docs/4.0/components/pagination/ In your code, a line before var $actualPagina = get_query_var… Add: global $actualPagina; So here’s what you do… Replace <?php get_template_part ( ‘paginacion_prop’ );?> by <?php thomas_pagination($propiedades->max_num_pages);?> In your functions.php enter … Read more