Discovered/fixed a bug related to List view

Home Forums Calendar Products Events Calendar PRO Discovered/fixed a bug related to List view

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1026656
    Motorco
    Participant

    Finally updating my site to the new refactored plugin. Had a really annoying problem with list view where it would only show 5 posts. Only happened on my theme, not default 2015 wordpress. The issue is that the theme I am using sets posts_per_page to 5 and the new switch/case in Query.php doesn’t initialize this query variable. So the fix is to add

    $query->set( 'posts_per_page', - 1 );

    in the default: case.

    #1027036
    Brian
    Keymaster

    Hi,

    Thanks for using our plugins.

    It is a conflict with some themes that set the post per page for archives to 5. I know Divi causes many of these conflicts.

    The solution you provide is a good work around and we do have a ticket in place to make our settings take over here and reduce the conflict.

    Let me know if you have any follow up questions.

    Thanks

    #1075658
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Discovered/fixed a bug related to List view’ is closed to new replies.