Blocks¶
Every public shortcode also comes as a block, under Club in the block inserter. Use whichever suits the page: a block shows a live preview in the editor and takes its options from the sidebar, so nobody has to remember a shortcode's name or type its attributes.
A block renders with exactly the same code as its shortcode, so the two always look and behave alike, and pages that already use shortcodes keep working as they are.
Club Player Manager¶
| Block | Shortcode | Sidebar settings |
|---|---|---|
| Waiting list sign-up | [cpm_signup_form] |
Button colours |
| Registration link request | [cpm_registration_request] |
Season, button colours |
| Season registration form | [cpm_registration_form] |
Season, button colours |
| Parent account | [cpm_guardian_account] |
Button colours |
Season defaults to Current season: the active season, or, on a season's own page, that season. Pick one only when two seasons are open at once.
Button colours set the form's button, its text, and the focus ring on its fields. The picker offers the theme's own palette; a palette colour stays linked to the theme, so the form follows it if the palette changes later. Left unset, the form keeps its standard blue.
Each of these blocks can be used once per page.
On the plugin's own pages¶
The join-us, account and season pages add their form underneath whatever the club writes. If the club puts that form's block (or shortcode) into the page itself, for example to place it higher up, the page does not add a second copy.
English FA¶
These need the English FA plugin.
| Block | Shortcode | Sidebar settings |
|---|---|---|
| Fixtures | [english_fa_fixtures] |
Team, how many, heading, competition and venue columns |
| Results | [english_fa_results] |
Team, how many, heading, competition and venue columns |
| Fixtures and results | [english_fa_matches] |
Team, how many results, how many fixtures, columns |
| Team list | [english_fa_teams] |
Heading |
| Latest club results | [english_fa_latest_results] |
How many, heading, competition and venue |
| Games in the next seven days | [english_fa_next_games] |
How many days, heading, competition and venue |
Team lists every tracked team, plus Every team. Leaving a count empty uses the limit set on English FA's settings.
The last two are made for a home page and always cover the whole club. Latest club results shows only games with a score (6 unless changed) and leaves out under 11s and younger. Games in the next seven days lists every team's games from today, under 11s included.
Club Card Payment¶
These need the Club Card Payment plugin. Neither has settings of its own.
| Block | Shortcode |
|---|---|
| Club shop | [ccp_shop] |
| Payment request | [ccp_pay_request] |
Colours, spacing and width¶
Every block also has the standard Color (text, background, links), Dimensions (padding, margin), Typography (font size) and Align (wide, full) controls, all offering the theme's own palette and sizes.