Head to Head Matches (shortcode)

Premium Version Only - since v0.11.1

Image 1774

[anwpfl-matches-h2h club_a="" club_b="" competition_id="" show_secondary="0" season_id="" type="result" limit="0" sort_by_date="desc" show_club_logos="1" show_match_datetime="1" date_before=""]

Shortcode Attributes

  • club_a - (required) First Club
  • club_b - (required) Second Club
  • competition_id – (optional) – competition ID
  • limit – (optional) limit number of matches. 0 for all (not recommended). Default: 20
  • type – (optional) “result” or “fixture” – show finished or future matches. Empty to show all. The default value is " " (empty - all).
  • show_secondary – (optional) 0 or 1. Include matches from secondary stages. Works for multistage competitions only. You should set main stage ID in “competition_id” parameter.
  • season_id – (optional) Season term_id.
  • limit – (optional) limit number of matches. 0 for all (not recommended). Default: 20
  • show_match_datetime – “0” or “1”. Default: “1”
  • show_club_logos – “0” or “1”. Default: “1”
  • sort_by_date - (optional) - "" (empty for none), "asc" - for oldest, "desc" - for latest
  • date_before - (optional) show matches with kickoff time before date (included). Format: YYYY-MM-DD. E.g.: 2019-04-21