I have the same problem, with last wp and plugin version.
Also
[matches league_id=1 time=next] or [matches league_id=1 time="next"]
doesn’t work.
Only
[matches league_id=1]
works.
What kind of bugged version do you release?
fixed:
in /wp-content/plugins/leaguemanager/lib/shortcodes.php
comment line ~270
// elseif ( $template != “by_matchday” )
// $match_day = 1;
I don’t know what is it “by_matchday” template.
This extension is very poor documented.
Plugin Author
K
(@koelle)
@theonuracar: You should simply use the tag [matches league_id=2 template="by_matchday"]. This will automatically do what you are doing manually for each matchday
I could use “match_day=current” as a work-around…But next week, visitors who look for this week’s matches will find next week’s…
Plugin Author
K
(@koelle)
this should work better in 4.0.3
Hello Kolja,
I have already upgraded to version 4.0.3, but the problem remains…
Plugin Author
K
(@koelle)
@mjvdspek: what is the exact shortcode you use? and what do you want to achieve? The issue with time=”next” or time=”prev” should be resolved giving all previous or all upcoming matches.
Do you want to show all matches of the previous or next match day?
Hello
I want to know this too, I happen to have the same problem.
I used this shortcode:
[matches league_id=2 match_day=14 show_match_day_selection=true show_team_selection=false]
I’m temporarily using last now to display the correct match day.
Using last WP with plugin version 4.0.3
I’m using:
[matches league_id=2 match_day=14 show_match_day_selection=false show_team_selection=false]
I want to show the matches in several leagues in 1 blog post with a title like: “soccer matches for January 23 and 24”
It is for a news website. People should also be able to find the matches in the archive, so the tag “match_day=current” is not sufficient.
Example: http://www.westerwoldeactueel.nl/2015/12/13/amateurvoetbal-12-en-13-december/
in this example you see that the matches shown are not from December 12th and 13th, but from the 1st match day in September.
Plugin Author
K
(@koelle)
I just submitted a small bugfix release, which also addresses this issue. I tested several shortcodes, which gave expected results as listed below:
* [matches time=’prev’] – show passed matches
* [matches time=’next’] – show upcoming matches
* [matches match_day=’next’] – show matches of upcoming match day
* [matches match_day=’last’] – show matches of previous match day
* [matches match_day=’current’] – show matches of match day closest to current date, i.e. this could show the previous or next match day
Version 4.04 solved the problem for me!
Thanks a lot! π
Updating to 4.0.5 solved the problem for me! Thanks a lot!