Pagination issue when there is an existing query string

[ad_1]

Hi Bill

I’ve implemented your pagination extension and it works for my site (almost) perfectly. My site is bilingual, using WPML, which uses a query string ?lang=fr to denote the French version of any particular page in the URL. On the English version of the page, there is no query string so the pagination works properly. However, the existing query string on the French version of the page renders the pagination non-functional – it stays stuck on page 1.

I can see what is happening and how the dps query string needs to be attached to existing query string in order to make it work… joining it with an ampersand the language parameter (e.g. ?lang=fr&dps_paged_7=2)… indeed manually doing this in the URL gives me page 2 of the page I’m on. But I wouldn’t know how to modify the source code of the pagination extension to achieve this.

Appreciate your advice.

Many thanks
Trevor

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer