Support » Plugin: WP Club Manager - WordPress Sports Club Plugin » Remove played game from fixtures list once score is added to the game?

  • Resolved janustudios

    (@jojithedevil)


    Hi there, I am looking to see if there is a way to achieve this?

    So I have this shortcode on each page

    [match_list title=”” format=”results” limit=”” comp=”14″ season=”” team=”” date_range=”” venue=”” order=”ASC” show_abbr=”0″ show_thumb=”1″ show_comp=”1″ show_team=”0″ show_venue=”1″ linktext=”” linkpage=””]

    which only shows the upcoming matches.

    Is there a way I can show the existing matches for which the score has not been updated and once the score is updated matches exclude from fixture list and go to results shortcode on another page.

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Leon

    (@leonterry)

    Hi,

    You should be able to achieve that by changing the ‘format’ value of the Match List shortcode.

    The Results option should only show matches once a score has been entered. The Fixtures option should only show matches that are upcoming. Once played they should be automatically removed from that list.

    Unless I am misunderstanding your request that should achieve what you are after. If that’s not happening then let me know and I’ll take a closer look.

    Hope that helps πŸ™‚

    Thread Starter janustudios

    (@jojithedevil)

    Hi Leon,

    I have got this shortcode on this Page A

    [match_list title="" format="fixtures" limit="" comp="14" season="" team="" date_range="" venue="" order="ASC" show_abbr="0" show_thumb="1" show_comp="1" show_team="0" show_venue="1" linktext="" linkpage=""]

    And this second shortcode on this Page B

    [match_list title=”” format=”results” limit=”” comp=”14″ season=”” team=”” date_range=”” venue=”” order=”ASC” show_abbr=”0″ show_thumb=”1″ show_comp=”1″ show_team=”0″ show_venue=”1″ linktext=”” linkpage=””]

    If you look at Page B it got some of the matches which the date have passed but the score has not been updated.

    I wanted to ask if there is a way of showing old past date matches (score not updated) in fixtures shortcode on Page A

    and

    they only disappear once the score gets updated and show up in results shortcode on Page B.

    Plugin Author Leon

    (@leonterry)

    Hi,

    Ok cool, I see now. I should have a fix out today πŸ™‚

    Cheers

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Remove played game from fixtures list once score is added to the game?’ is closed to new replies.