Overriding Templates

The template files of WP Club Manager contain the  markup and template structure for the front-end of your club website. If you open these files you’ll notice they all contain many hooks which will allow you to add / move content without having to edit the template files themselves. This method protects even further against any upgrade issues as the template files can be left completely untouched.

Alternatively, you can edit these files in an  upgrade safe way through overrides. Simply copy it into a directory within your theme named /wpclubmanager, keeping the same file structure.

To overide the admin order notification, copy: wp-club-manager/templates/single-player/meta.php to yourtheme/wpclubmanager/single-player/meta.php

The copied file will now override the WP Club Manager default template file. Do not edit these files within the core plugin itself as they are overwritten during the upgrade process and any customisations will be lost.

The  template files can be found within the  /wp-club-manager/templates/ directory:

If you want to edit one of these templates simply copy it into a directory within your theme named  /wpclubmanager, keeping the same file structure, e.g. move /templates/single-player/meta.php to themename/wpclubmanager/single-player/meta.php. The copied file will now override the WP Club Manager default template file. Do not edit these files within the core plugin itself as they are overwritten during the upgrade process and any customisations will be lost.