Customizing Paid Memberships Pro Templates

Get Started

When using the Paid Memberships Pro plugin with the Reign theme, you may want to customize the templates to fit your needs. This guide outlines how to override the Paid Memberships Pro template files within the Reign theme.

Overriding Paid Memberships Pro Templates

To override the Paid Memberships Pro templates, create the following directory structure within your theme and copy the corresponding files from the Paid Memberships Pro plugin.

Directory Structure

reign-child/
└── paid-memberships-pro/
    └── pages/
        ├── billing.php
        ├── confirmation.php
        ├── invoice.php
        └── levels.php

Steps to Override

  1. Copy the template files: Copy the desired template files from the Paid Memberships Pro plugin directory (wp-content/plugins/paid-memberships-pro/pages) to the corresponding directories in your theme.
  2. Customize the template files: Edit the copied template files in your theme to meet your customization requirements.

Example File Paths

  1. Billing Page Template:
    • Original Path: wp-content/plugins/paid-memberships-pro/pages/billing.php
    • New Path: reign-child/paid-memberships-pro/pages/billing.php
  2. Confirmation Page Template:
    • Original Path: wp-content/plugins/paid-memberships-pro/pages/confirmation.php
    • New Path: reign-child/paid-memberships-pro/pages/confirmation.php
  3. Invoice Page Template:
    • Original Path: wp-content/plugins/paid-memberships-pro/pages/invoice.php
    • New Path: reign-child/paid-memberships-pro/pages/invoice.php
  4. Levels Page Template:
    • Original Path: wp-content/plugins/paid-memberships-pro/pages/levels.php
    • New Path: reign-child/paid-memberships-pro/pages/levels.php

By following these steps, you can ensure that your customizations remain intact even when the Paid Memberships Pro plugin or the parent Reign theme is updated.

Last updated: May 22, 2024