Skip to content

14. Public pages

Three shortcodes put the plugin on the public site. Each goes on an ordinary WordPress page.

[cpm_signup_form]

The "join the club" form. Asks for the child's name and date of birth, the parent's name, email and mobile, which teams they're interested in, where they are, and anything else. A submission lands on the Waiting list and notifies the right secretaries.

[cpm_registration_form]

The season confirmation form parents reach from their emailed link. It lists that parent's children for the season and takes a yes or no for each.

It accepts three kinds of link, and a parent never sees which:

  • the stable per-parent link in the season approval email;
  • a single-use link for one player, for when you need to send a one-off;
  • a 24-hour self-service link, from the form below.

With no valid link — someone landed on the page directly, or their link expired — the page falls back to the request form rather than a dead end.

Add season_id="12" to pin the page to one season; otherwise it uses the active season.

[cpm_registration_request]

The self-service "send me my link" form, for a parent who has lost their email. Two ways in:

  • by email address — if the address matches a parent on file, their link is emailed to them.
  • by the child's FA Number and date of birth — on a match, the parent goes straight to the registration form with no email round-trip.

Both answer the same way whether or not the details match anything, so neither can be used to find out who is registered with the club. Repeated failed attempts from one address are throttled, and repeat requests for the same email address are rate-limited so nobody can be email-bombed.