WordPress.org

Ready to get started?Download WordPress

Forums

All-in-One Event Calendar
[resolved] Pagination : Show all upcoming events in a category (4 posts)

  1. Manu-PB
    Member
    Posted 1 year ago #

    Hi,
    I need som help to solve a pagination issue in the agenda view.

    Lets try to describe the problem :
    - $agenda_events_per_page is set to : 10,
    - Today is the 31st October,
    - In the "A" category there are upcoming events on 15th, 26th, 27th and 30th November.

    When I display the (filtered by A) agenda I get :
    - On a first (offset=0) page, only the first 2 upcoming events (15th and 26th November) + button-link to "Next events",
    - On the "Next events" (offset=1) page, I get the last 2 events (27th and 30th November).

    Since $agenda_events_per_page is 10, and the number of upcoming events in the A category is only 4, I would like to get the 4 events on a single page.

    How can I get this ?

    Thanks for help,

    http://wordpress.org/extend/plugins/all-in-one-event-calendar/

  2. bnkeith22
    Member
    Posted 1 year ago #

    Hi Manu-PB,

    There is a bug in v1.8.3 which does not filter these events correctly.
    v1.9 will handle this much better - It will be available to upgrade in a few weeks.

    As a workaround, set your Agenda Pages Show at most to "100" and your filtered events should show up one the same page.

    Thanks

  3. Manu-PB
    Member
    Posted 1 year ago #

    Hi bnkeith22,
    Setting agenda pages show at 100 solves the problem,
    Thanks.

  4. bnkeith22
    Member
    Posted 1 year ago #

    No problem - glad we could help :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic