Title: Automate Shortcode match
Last modified: September 27, 2022

---

# Automate Shortcode match

 *  Resolved [hsdz](https://wordpress.org/support/users/hsdz/)
 * (@hsdz)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/automate-shortcode-match/)
 * 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](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fautomate-shortcode-match%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [gigamanlt](https://wordpress.org/support/users/gigamanlt/)
 * (@gigamanlt)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/automate-shortcode-match/#post-16049411)
 * 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](https://www.grupposportivoitaliano.it/2022/09/28/prova/)
 * 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](https://wordpress.org/support/users/gigamanlt/).
 *  [Roch](https://wordpress.org/support/users/rochesterj/)
 * (@rochesterj)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/automate-shortcode-match/#post-16051441)
 * 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.

 * ![](https://ps.w.org/sportspress/assets/icon-256x256.png?rev=1252005)
 * [SportsPress - Sports Club & League Manager](https://wordpress.org/plugins/sportspress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/sportspress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/sportspress/)
 * [Active Topics](https://wordpress.org/support/plugin/sportspress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/sportspress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/sportspress/reviews/)

## Tags

 * [automation](https://wordpress.org/support/topic-tag/automation/)
 * [display](https://wordpress.org/support/topic-tag/display/)

 * 2 replies
 * 3 participants
 * Last reply from: [Roch](https://wordpress.org/support/users/rochesterj/)
 * Last activity: [3 years, 7 months ago](https://wordpress.org/support/topic/automate-shortcode-match/#post-16051441)
 * Status: resolved