WordPress.org

Forums

LeagueManager
Want to Display all Match Days and Teams w/ Filtering (3 posts)

  1. bfagan
    Member
    Posted 3 years ago #

    I would like to display all matches for the season AND have the Match Day and Team filtering available.

    The code I'm using on my page is [matches league_id=1]. This gives me the table with the Match Day and Team filters, but doesn't give me what I want.

    You are able to see all teams by submitting with it set to "Choose Team" but you are forced to choose a specific Match Day. So the result is that you can see all teams for 1 day, or all days for 1 team, but not all teams on all days. I would like for the Match Day filter to have a "Choose Day" option (like the Team filter does) and have if return all days if a specific day is not selected.

    I see in the matches php where I can add a "Choose Match Day" option to the filter, but not where to adjust a database call that would return all days (I assume to remove the where matchday= from the Where clause)

    I assume it's somewhere in the matches php, but I don't see what needs to be done.

    Thanks for any help

    http://wordpress.org/extend/plugins/leaguemanager/

  2. zeight
    Member
    Posted 3 years ago #

    [matches league_id=1 match_day=1]

    this code will help change ur match_day=?

  3. AlvinVogelzang
    Member
    Posted 3 years ago #

    I had the same problem. Zeights' solution did the trick. Thanks!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • LeagueManager
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic