How to Override Template Files?

When creating a template override, please remember that templates can change overtime. You must check for any incompatibilities after each new stable release of the MemberPress plugin to ensure your templates continue to function properly.

For those of you who are more technically inclined, you can now (MemberPress version 1.1.7+) create a directory in your theme or child theme's base folder named "memberpress." Inside that folder, you can place any of our templates (found in /app/views/…) to override them with your own. However, the folder structure must be maintained. So for example, if you wish to override the /app/views/account/home.php template — you would put the file in /your-theme/memberpress/account/home.php.

We do not recommend copying the entire /app/views/ folder over, but instead just copy over the files that you need to override. This will limit the chance of conflicts with future upgrades to MemberPress. Templates can change over time, so be sure to check for compatibility after new releases of MemberPress. For this reason we strongly recommend that you keep a staging site separately to test new updates on etc before pushing them to a live site.

If you need to change CSS, currently the best way to do that is to use a plugin like Custom CSS Manager to put your own custom styles in. If you're having trouble with your styles overriding MemberPress', you may need to add a !important declaration to them.