change pagination url

You may use the format argument of wp_link_pages function like this: <?php $args = array( ‘base’ => ‘%_%’, ‘format’ => ‘?page=%#%’, ‘total’ => 1, ‘current’ => 0, ‘show_all’ => False, ‘end_size’ => 1, ‘mid_size’ => 2, ‘prev_next’ => True, ‘prev_text’ => __(‘« Previous’), ‘next_text’ => __(‘Next »’), ‘type’ => ‘plain’, ‘add_args’ => False, ‘add_fragment’ => … Read more

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

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)