• Resolved hsdz

    (@hsdz)


    Is it possible to display automatically the next matches ? They’re all created out and I just want to make them point when the time has come :

    We are trying to display the next matchs we’re going to have. But to be fair, I would love to automate everything so I don’t have to modify it everyday.

    I have a little space where I have the shortcodes of matches :

    but instead of simply change the shortcode itself, I would like to say :

    Hey “Take the match that is the very next date of my precise team.”
    ie:
    my future events
    [event_blocks event=”4934″] & [event_blocks event=”4646″] are ending out this week end. After they’re done I would want the website to switch over the new ones which are [event_blocks event=”4935″] & [event_blocks event=”4647″]

    Please tell me there’s a way I can’t be bothered to change it everyweek

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello hsdz,
    I hope I understand (and not be wrong) and can help you with this information.
    I think you want such a thing.

    Go to the link:

    lists of subsequent events

    to obtain this result on the page the codes are as follows:

    1) List of the team that plays 1 or more matches in the week from 09/26/2022 to 11/02/2022

    1) List of the team that plays 1 or more matches in the week from 09/26/2022 to 11/02/2022

    [event_list id=”21175″ title=”Write here the title you want to give to the table” team=”20355″ league=”209″ season=”210″ venue=”0″ status=”default” date=”w” date_from=”default” date_to=”default” date_past=”” date_future=”” date_relative=”0″ day=”” number=”5″ order=”default” columns=”event,teams,time,league,season,day” show_all_events_link=”0″ align=”none”]

    2) List of the team playing in the week following Sunday 02 November

    [event_list id=”21175″ title=”Write here the title you want to give to the table” team=”20355″ league=”209″ season=”210″ venue=”0″ status=”default” date=”+w” date_from=”default” date_to=”default” date_past=”” date_future=”” date_relative=”0″ day=”” number=”5″ order=”default” columns=”event,teams,time,league,season,day” show_all_events_link=”0″ align=”none”]

    3) List of all the events following the last game played

    [event_list id=”21175″ title=”Write here the title you want to give to the table” team=”20355″ league=”209″ season=”210″ venue=”0″ status=”future” date=”0″ date_from=”default” date_to=”default” date_past=”” date_future=”” date_relative=”0″ day=”” number=”5″ order=”default” columns=”event,teams,time,league,season,day” show_all_events_link=”0″ align=”none”]`
    good work

    • This reply was modified 3 years, 7 months ago by gigamanlt.
    Roch

    (@rochesterj)

    Hi there!

    Thanks for reaching out.

    You can use the shortcode options or a calendar for that.

    Using the shortcode options you can add the team attribute, and you can load a specific number of events using the “limit” attribute (-1 loads them all).

    You can see all the options in the shortcode builder (using the classic editor, add a new page or post and click on the sportspress button).

    Another option is o create an events calendar with your options (team X, results/fixtures, competition, season..), then load this calendar using the event_blocks or event_list

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Automate Shortcode match’ is closed to new replies.