Hi kev,
For the player profiles you will need to create your own template. The easiest way to do this is to create a copy of the full width template (template-onecolumn.php) from your theme folder and paste it into a new folder called “sportspress”. The name of the file should be “single-player.php”.
Basically, copy this file:
wp-content/themes/graphene/template-onecolumn.php
to:
wp-content/themes/graphene/sportspress/single-player.php
You can also do the same for events (single-event.php), calendars (single-calendar.php), teams (single-team.php), league tables (single-table.php), player lists (single-list.php) and staff (single-staff.php).
Hope this helps!
Thread Starter
kev147
(@kev147)
Hi mate
I think i have done this correctly see HERE and cleared my cache and history but nothing seemed to have changed is there something else i need to do please
thanks
Hi kev,
Try changing the folder name from “sportpress” to “sportspress”.
Let me know if that works 🙂
Thread Starter
kev147
(@kev147)
Hi themeboy, i changed that but still looks the same for me does it look same for you? HERE
Hi kev,
You’re right, it looks like the template isn’t being applied. Could you send a screenshot of the folders again?
The template loader is located in sportspress/includes/class-sp-template-loader.php. If you’ve created a sportspress.php in your theme’s root folder, this will override all templates.
Thread Starter
kev147
(@kev147)
Screenhot of the folder again HERE this what you mean?
not sure what you want me to do with the class-sp-template-loader.php? ive not created any sportspress.php file mate
thanks
Hi kev,
Thanks for the screenshot. It looks like it’s setup correctly but not showing on the front end. If you could email me at support@themeboy.com I can help you further with this.
Thread Starter
kev147
(@kev147)
Problem fixed now thanks to the amazing support thanks Themeboy!!