Support » Plugin: The Events Calendar » Disable AJAX Pagination

  • Resolved coreymcollins


    Is there any way to disable AJAX pagination? We’re using The Events Calendar in conjunction with BuddyPress and only certain user levels/user roles will be able to see events in specific categories.

    For instance, everyone can view events in the Public category, but only Admins should see events in the Admin category.

    This works fine in general while using pre_get_posts to exclude those categories based on the user; however, with the AJAX pagination, we’re not affecting the posts pulled in through the AJAX action.

    If I page to page 2 and am logged out, I will see an Admin event. If I refresh the page, the event will not be displayed.

    I think the best way to go about this is going to be to disable AJAX pagination and just use standard pagination. Is this possible at all?

Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Disable AJAX Pagination’ is closed to new replies.