Resolved
Overview of the issue
If you are using the Grid element feature from Impreza with WPML, you will see that the pagination does not point the right page.
Workaround
Make a full backup of your site before proceeding:
- Open the …/wp-content/plugins/us-core/templates/us_grid/listing-end.php file.
- Replace this:
// Removes from `admin-ajax.php` links $paginate_home_url = ( has_filter( 'us_tr_home_url' ) ) ? apply_filters( 'us_tr_home_url', NULL ) : trailingslashit( home_url() );
With:
// Removes from `admin-ajax.php` links $paginate_home_url = ( has_filter( 'us_tr_home_url' ) ) ? trailingslashit( apply_filters( 'us_tr_home_url', NULL ) ) : trailingslashit( home_url() ); $paginate_links = str_replace( $paginate_home_url . 'wp-admin/admin-ajax.php', '', $paginate_links );
The issues was fixed in Impreza version 8.12.
Thank you for the heads up!