Sportspress > Sportspress > Clubs > Select match And click on link of the club.
Thanks but I’m looking to list all matches.
So if you click on leage table then click on a club name be taken to a page listing all matches that club has played.
Plugin Contributor
Savvas
(@savvasha)
Hi @nuasoft ,
You can create a Calendar for each Team and filter it based on Team to show only the Events the Team had.
Unfortunately, to achieve exactly what you want (a link from the league table to the “team calendar”) is not possible with some custom code, that is not the scope of these support forums.
Thanks,
Savvas
Thanks.
Is there anyway to get a list of all matches played and the results without creating a new calendar for each team?
Unless I’m mistaken this would mean having to list the events in the main calendar and then in each teams calendar and involve a lot of extra work
Will it be possible to execute an SQL statement for example and run it on each club page?
Plugin Contributor
Savvas
(@savvasha)
Not an SQL statement. Just the shortcode [event_list team_id=””]
https://support.themeboy.com/article/105-event-list-shortcode
Thanks,
Savvas
That worked perfectly thanks
Just in case anybody has the same issue the short code is actually
[event_list id=””]
Thanks again
Sorry to follow-up on this again but that shortcode only appears to be showing home games, not away games.
Am I missing a setting?
HI!
Would you mind pasting the link to an example of this issue on your site, so we can check it out?
Kind Regards,
-Roch
Thanks. Here are a couple of links
https://www.amateurfootballleague.com/team/alpine-oldchurch/
https://www.amateurfootballleague.com/team/walkinstown-utd/
The Shortcode im using is
[event_list id=”XXXX” order=”desc” rows=”10″ paginated=”1″ number=”-1″ status=”default”]
Hi!
What happens when you create a calendar for this team and then add the event list using that calendar?
Thanks!
That worked perfectly. Thanks
You’re most welcome!
Let us know if you need anything else.
Kind Regards,
-Roch