Query Strings Across Multiple Paginated Pages
-
Hey there. I have a website that is paginated using <!–nextpage–> (a single.php pagination for blog posts). I want to load different adsense codes (on the same article), but when a user uses a different id. So for example, website.com/article/?id=jacob loads a different set of ads than website.com/article/?id=john. The problem lies in the pagination. I got the query string itself to load different ads but I can’t seem to make it carry. When I click on the next page button it goes to website.com/article/2/ and drops the query string. Any help would be much appreciated. Possible making the query string load a different post template that uses that ad code could be a solution? Thanks!
The topic ‘Query Strings Across Multiple Paginated Pages’ is closed to new replies.