Show more/less not working for upcoming events list

WordPress Event Management, Calendars & Registration Forums Report A Bug Show more/less not working for upcoming events list

This topic contains 3 replies, has 2 voices, and was last updated by  Stephen Harris 8 years, 9 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #21482

    Hi Stephen.

    I recently noticed that the show more/less links that should appear if an event has more than 5 upcoming dates are no longer functioning. Instead, the entire list of upcoming dates is being displayed. This is occurring on two sites (with the same configuration and child themes, but different content).

    Unfortunately, these are client-maintained sites, so I’m not sure when the issue first arose, but everything is currently up-to-date. I’m not seeing any errors or warnings when I inspect the code, and I’ve confirmed that the theme is using the “eo-upcoming-dates” id for the relevant list (I have a modified copy of event-meta-event-single.php in my child theme).

    Let me know if you have any immediate thoughts on this issue or if you need more info.

    Regards,

    Tristan

    • This topic was modified 8 years, 9 months ago by  Tristan Tamplin.
    Tristan Tamplin
    #21509

    Hi Tristan,

    This changed in 3.0.0, it now targets elements with the class eo-upcoming-dates rather than ID. (see https://github.com/stephenharris/Event-Organiser/pull/214)

    My apologies this was not listed as one of the breaking changes. In retrospect it probably should have catered for themes where they were using the ID.

    I shall address this in 3.0.3.

    Stephen Harris
    #21513

    Thanks for that Stephen — I appreciate both the promptness and clarity of your reply.

    So are you planning to check for both the class and the ID in the next version, or will it continue to be class only and you’ll just update the docs/notes accordingly?

    Tristan Tamplin
    #21522

    Hi Tristan,

    It will check for both class and ID. But you should be able to fix this before that release by using the class instead.

    Stephen Harris
Viewing 4 posts - 1 through 4 (of 4 total)
To enable me to focus on Pro customers, only users who have a valid license for the Pro add-on may post new topics or replies in this forum. If you have a valid license, please log-in or register an account using the e-mail address you purchased the license with. If you don't you can purchase one here. Or there's always the WordPress repository forum.