Installation & Setup Wizard


This page takes you from a fresh install to a site with your sport set, your club in place and a first competition with its draw made. The setup wizard does most of it in about a minute.

Requirements

  • WordPress 6.5 or later
  • PHP 7.4 or later
  • Any theme. Classic themes (Kadence, Astra and the like) and block themes (Twenty Twenty-Five and the like) both work.

πŸš€ Install the plugin

  1. Go to Plugins > Add New Plugin and search for AnWP Tennis Leagues. Or click Upload Plugin and pick the plugin’s .zip file.
  2. Click Install Now, then Activate.
  3. A Tennis Leagues menu appears in your admin, and the Plugins screen shows a setup notice.
The setup notice on the Plugins screen: Tennis Leagues is ready to set up, with a Start setup button

Click Start setup, or open Tennis Leagues > Dashboard. On a site with no competitions yet, the Dashboard opens on the wizard.

The setup wizard

Four steps: Sport, Club, First competition and Sample data. The last two are optional. Nothing is created until you click Finish setup, and Back keeps every answer.

Step 1 – Sport

Pick the sport you run most. Every new competition starts with its scoring, and each competition can still pick another sport, so a club running tennis and padel side by side is fine.

Wizard step 1: six sport cards - Tennis, Padel, Squash, Table Tennis, Pickleball and Badminton - each with its scoring and singles or doubles default
SportDefault scoringPlayed as
🎾 TennisSets to 6 games, tiebreak at 6-6, best of 3 setsSingles
PadelTennis scoring, best of 3 setsDoubles
SquashGames to 11, best of 5Singles
Table TennisGames to 11, best of 5Singles
PickleballGames to 11, best of 3Doubles
BadmintonGames to 21, best of 3Singles

These are starting points. Each competition can change its best of, the deciding set and the other variants its sport offers.

Step 2 – Club

  • One club – your club’s own site, and everyone plays for you. Your club and its courts are filled in for you, the club fields stay out of the way, and Clubs in the menu becomes Your Club. The club name starts as your site title. Add your courts here too (up to 20, or 0 if you don’t track courts). Surface is asked for tennis only.
  • Several clubs – leagues, team leagues or events between clubs, for organisers and federations. Nothing is created now: add clubs when you need them.

You can switch any time in Settings – nothing is deleted.

Wizard step 2 with One club picked: the club name Oakwood Tennis Club and 4 courts, each with a name and a surface

You can switch either way later under Tennis Leagues > Settings, in the Clubs box. Nothing is deleted when you switch.

Step 3 – First competition (optional)

Set one up now and its draw or fixtures are made for you. Give it a name, choose Singles or Doubles, and pick a format:

FormatWhat you get
Knockout tournamentA bracket: lose a match and you’re out. Byes fill it up to 4, 8, 16 or 32 lines.
LeagueEveryone plays everyone once, in one table.
Box leagueSmall groups by level, everyone plays everyone in their box. List players strongest first: the top of the list makes Box A. Boxes are kept as even as possible (14 entrants in 3 boxes are 5, 5 and 4).

Then type the Entrants, one per line, 2 to 32 lines. For doubles, put both names of a pair on one line with a slash: Marta Ruiz / Eva Gil. Each name becomes a player and each doubles line a pair. The line under the box counts it for you, for example Entrants: 12. Draw: 16 lines, byes: 4.

Wizard step 3: a knockout tournament named Club Championship, singles, with 12 entrants typed one per line and the count Entrants: 12. Draw: 16 lines, byes: 4.

Leave the Entrants box empty to add players and the draw later, or click Skip this step to make no competition at all. Continue with nothing filled in skips it too.

Seeding a knockout

The wizard places knockout entrants by a fair draw, with no seeds. To seed it, open the draw, type the seed numbers in the Entries box, click Update, then Generate again in the Bracket box. Do it before any result is in: Generate again creates every match anew.

Step 4 – Sample data (optional)

Real-looking competitions with results, so you can see draws, tables and match pages before your own data is in. Tick any of the three, or untick all three to start empty.

SampleWhat’s in itSize
Tennis club championshipA 16-player knockout played to the quarterfinals, a Plate for the first-round losers, and a finished 6-player league16 players, 37 matches
Padel league6 pairs, everyone plays everyone, 3 of 5 rounds played12 players, 6 pairs, 15 matches
Pickleball box league15 pairs in 3 boxes of 5, 3 of 5 rounds played30 players, 15 pairs, 30 matches
Wizard step 4: three sample sets to tick - Tennis club championship, Padel league and Pickleball box league - and a note that sample pages are kept out of search
  • With One club, the sample matches are played at your club and no extra club is made. With Several clubs, they’re played at a sample club, Riverside Racket Club, with 4 courts.
  • Sample pages are published, so visitors can open them until you remove them. Search engines are asked not to index them, and they’re left out of your sitemap.

Done

Click Finish setup. The wizard lists what it created, with buttons to go on: Open the draw, View it on the site and Add players (the buttons follow what you created).

Setup complete: Tennis, Oakwood Tennis Club with 4 courts, Club Championship knockout with 12 players and 4 byes, no sample data, and the Next buttons

Open the draw shows the bracket the wizard made. Every match is there, Final included, and each card links to its match.

The Bracket box of the new draw: 16 lines, 12 entries, 4 byes, from the Round of 16 to the Final

Remove the sample data

When you’re done looking around, open Tennis Leagues > Dashboard and click Remove sample data in the Sample data box.

  • Nothing of yours is deleted.
  • If your own data uses a sample row (your match in a sample draw, a sample player in your own pair), that row is kept and you see what and why.
  • For kept rows, choose Keep these as my own (they become ordinary data, and search engines can index their pages) or Decide later (their pages stay hidden from search until you choose).

Skipped the wizard?

  • Skip setup takes you to the Dashboard. While the site has no competitions, the Dashboard keeps a Run setup button to bring the wizard back.
  • Once setup is finished, or once you have a competition, the wizard doesn’t come back. Everything it does can be done by hand: see Your First Competition.
  • Change the site’s sport later under Tennis Leagues > Settings, in the Sport box. It sets what a new competition starts with. Competitions you already have keep their own sport.

πŸ†˜ Troubleshooting

You seeWhat to do
Setup needs JavaScript.The wizard runs in the browser. Turn JavaScript on, or add players, clubs and competitions from the menu.
Line 4 has two names. Pick Doubles, or put one name per line.A singles competition takes one name per line. Switch Played as to Doubles if those are pairs.
Line 5: add the second player – like Marta Ruiz / Eva Gil.A doubles line needs two names with a slash between them.
Line 6 is the same player as line 2.Each player can be entered once. Remove the repeated line.
A step shows a ! after Finish setupThe server refused an answer on that step. Nothing has been created yet. Fix the message on that step and click Finish setup again.

πŸ“š What’s next