WPS TeamTemplate Override
WPS Team supports template overriding from both the theme and child theme, allowing you to modify the appearance of the plugin-specific designs. The overrideable files are located in the templates directory inside the plugin.
Steps to override a template of the WPS Team Plugin:
- Make a directory named wpspeedo-team inside your active theme. (It is better to create the directory inside your active child theme).
- Copy the template you want to override from the templates directory of the plugin.
- Paste the template file in the wpspeedo-team directory inside your active theme.
- Now open the file in a text editor and edit as you like.
- Now reload the page from the browser and see the changes you made.
Say, for example, I want to override the template-single.php file through my child theme.
Here noteworthy: it’s highly recommended to override the file through the child theme instead of the main theme. Otherwise, the file customization will be reverted to the original once the theme update happens.
So to override the template-single.php file, you have to copy the file from
/wp-content/plugins/wps-team/templates/template-single.php
and paste it into your child theme directory
/wp-content/themes/twentytwenty-child/wpspeedo-team/template-single.php
Then modify the file content as you want.