Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter anthemakos

    (@anthemakos)

    Found a solution to my case ( not optimal I guess).
    Just commented out a line in functions file:
    if ($ppp > 0) $query->set('posts_per_page', $ppp );

    and now it works. It looks like it’s theme’s fault.

    Plugin Author Jeroen Sormani

    (@sormano)

    Hi,

    Glad you found a solution 🙂

    Sounds like it indeed was something within the theme..
    Is that the only line in your functions.php? From the looks of it, I’m not sure how that works (e.g. $ppp doesn’t seem to be defined).

    Have a great day!
    Jeroen

    Thread Starter anthemakos

    (@anthemakos)

    Hi,
    there are a bunch of nested IFs setting the $ppp based on category,id,options etc.
    I’ve considered them irrelevant so I didn’t quote them.
    In case you want to have a look here you go
    gist

    Thank you and have a good day!
    Nick

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘PPP not working’ is closed to new replies.