• Resolved nilssonab

    (@nilssonab)


    I’m having issues with the pagination on the Custom Layouts plugin. The first page shows up fine aswell as the numbered buttons, however when I swap to page 2 it shows the same results as the first page. This is true for all pages. I did notice in my adress bar that it goes back to the main URL, even if I manually type /page/2/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter nilssonab

    (@nilssonab)

    OK, I figured out of If I set my permalink structure to “plain” it works fine. However I do want to keep my post-name as the link structure. Is there any way to fix this?

    Thread Starter nilssonab

    (@nilssonab)

    OK, I managed to fix it by adding the following in functions:

    /************** Pagination fix *************************************/
    add_filter('redirect_canonical', function($redirect_url) { return false; });
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Issues with pagination’ is closed to new replies.