Clubs (shortcode)

Image 264

[anwpfl-clubs competition_id="" logo_size="big" logo_height="50px" logo_width="50px" exclude_ids="" layout=""]

Shortcode Attributes

  • competition_id – *(required) – standing table ID
  • logo_size – (required) "big" or "small" – logo size from appropriate club’s logo field
  • logo_height – Height value with units. Example: “50px” or “3rem”. Ignored for columns layout.
  • logo_width – Width value with units. Example: “50px” or “3rem”. Ignored for columns layout.
  • exclude_ids – (optional) list of comma-separated team ID’s to exclude
  • layout – "2col", "3col", "4col", "6col" or " " (empty). If empty – applied ‘logo_height’ and ‘logo_width’ attributes.

Hi,

it's better to add include_ids to this shortcode. for example, I want to use this shortcode as logos' block in home page for major clubs from different countries. example: A block contain logo and link to page of these clubs: real madrid, bayern munich, manchester united and ...

+1

Yes, a good idea!

Will be added soon.

hi, is there a way to make clubs show as a slider?

+1

Hi

I plan to add such functionality in the custom Gutenberg plugin.

--

Best Regards

Andrei S.