Support » Plugin: SportsPress - Sports Club & League Manager » Next event only (calendar)

  • Resolved braddobson1

    (@braddobson1)


    Hi,

    Is there a way/shortcode to show only the next single event from a specific calendar?

    I’m trying this at the moment, but it’s not creating what I need:
    [event_list id="359" status="future" number=“1”]

    Any help is greatly appreciated.

    Thanks

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor Savvas

    (@savvasha)

    Hi @braddobson1 ,

    Maybe you need to change the order from ASC to DESC or opposite?

    Thanks,
    Savvas

    Thread Starter braddobson1

    (@braddobson1)

    Hi @savvasha

    Thanks for you reply but that unfortunately just alternates the order of the two games that are showing. I’m wanting to just show the one game (the next game).

    Thanks

    Plugin Contributor Savvas

    (@savvasha)

    Hmm… Instead of using [event_list id="359" status="future" number=“1”] try [event_list id="359" status="future" number="1"] instead. Take notice that the first shortcode in number was using instead of "

    Thanks,
    Savvas

    Thread Starter braddobson1

    (@braddobson1)

    Nailed it @savvasha thanks!

    Plugin Contributor Savvas

    (@savvasha)

    I am glad you sorted it out 🙂

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Next event only (calendar)’ is closed to new replies.