• Skip to main content
  • Skip to primary sidebar
  • Skip to footer

nSiteful Web Builders

Building a Better Web - One Site at a Time.

  • Home
  • About
    • Testimonials
    • Resources
    • Partner With Me
    • Frequently Asked Questions
  • Web Sites
  • Online Marketing
  • WordPress Support
    • Customized WordPress Training
    • 60-for-60 Sessions
  • Web Applications
  • Blog
    • At-A-Glance
    • Blog Articles Grouped by Category
    • Case Studies
    • General
    • Portfolio
    • Reviews
    • Snippets
    • Techniques
    • Projects
  • Contact
    • Purchase Retainer Consulting Hours
    • About Retainer Consulting Hours
    • Book a Meeting with Jeff
    • Tell Me About Your Web Project
    • nSiteful Newsletter Archives
    • nSiteful Rewards
Override MemberPress Template Files

By Jeff - 9/24/2021
Cats: Techniques · Tags: MemberPress, Membership Sites, WordPress

techniques

How to Override MemberPress Template Files

Last updated September 8th, 2023 at 12:07 pm

Introduction

Since MemberPress version 1.1.7, developers can override MemberPress template files (as well as the template files for MemberPress addons). The method for overriding template files described in this article requires a child theme.

Note: MemberPress’ official documentation does include an article on this topic. As helpful as that article is (it includes many more examples than I do here as well as a video screencast), I got tripped up when I followed that article’s instructions when trying to override the “Course Header” file for the MemberPress Courses addon. I had assumed — because the article on MemberPress’ site does not seem clear on this issue — that I needed to create a memberpress-courses subdirectory in my child theme. Not so, as you will see here. At any rate, here’s my attempt to simplify the process.

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

Step-By-Step Procedure for How To Override MemberPress Template Files

1. Find the template file you wish to override.

It will be in the subdirectory whose path follows this pattern:

/wp-content/plugins/{DIRECTORY_NAME}/app/views/{VIEWS_SUBDIRECTORY}/{TEMPLATE_FILE}

(It will always be found under /app/views/.

Make note of the actual names for {VIEWS_SUBDIRECTORY} and {TEMPLATE_FILE}.

2. Create subdirectory under child theme

Create a subdirectory under your child theme and name it “memberpress”.

Note that memberpress should be the name of this subdirectory even if the template you will be overriding is part of a MemberPress addon such as Membership Courses or Membeship Downloads.

3. Create another subdirectory

Create a subdirectory under this new “memberpess” subdirectory and name it whatever is the ACTUAL subdirectory name where the {VIEWS_SUBDIRECTORY} placeholder item appears (see above).

4. Copy MEPR template file to child theme subdirectory

Now copy the template file ({TEMPLATE_FILE}) you identified in Step One to the child-theme subdirectory you created in Step 3.

5. Edit Template File

Edit the template file. (If you edited the template file locally — always recommended — now upload it via FTP.)

Examples

For these examples, the path part /wp-content/plugins/ is omitted for simplicity.

Override the Account Home Page Template:

Find the file here:

/memberpress/app/views/account/home.php

Put the file here:

/your-child-theme/memberpress/account/home.php

Override the Course Header Template for Membership Courses:

Find the file here:

/memberpress-courses/app/views/courses/course_header.php

Put the file here:

/your-child-theme/memberpress/courses/course_header.php

Override the Login page Template:

Find the file here:

/memberpress/app/views/login/form.php

Put the file here:

/your-child-theme/memberpress/login/form.php

Closing

If this article helps you, please let me know. If you’d like more articles about MemberPress and/or MemberPress Courses, let me know that, too.

Like what you see? Share with others and join my mailing list. No long-term commitment, unsubscribe any time.

Related Posts

  1. What to look for in WordPress themes: Pluggability
  2. Use Custom Lesson Icons for MemberPress Courses
  3. Customizing WordPress Using Vendor-Built Child Themes
  4. MemberPress: How to Create a Custom MemberPress Course Progress Page
  5. PHP: Get All Included Files

Reader Interactions

Comments

  1. Alex says

    December 14, 2022 at 4:52 am

    This is amazing this helped me fix my problem with the email reset password template file. The problem was from another 3-rd party plugin that was using the template file to scan the url for traffic but after I changed it a bit it works.

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar

mailchimp signup

Subscribe to get notified when new articles are published. Unsubscribe any time. No spam. I promise. Check out my newsletter archives.

social

Twitter Facebook LinkedIn

Recent Articles

  • Post-Specific CSS for WordPress October 5, 2026
  • You built an online course, but they haven’t come. September 16, 2026
  • Custom MemberPress Pricing Pages December 19, 2025
  • CSS Data Attribute Override December 11, 2025
  • MemberPress Rules Using Custom Taxonomies and Custom Roles December 10, 2025

Filter By Category/Tag

Categories

  • Case Studies (8)
  • For Staff (1)
  • General (73)
  • Portfolio (7)
  • Reviews (14)
  • Snippets (24)
  • Techniques (52)

Popular Tags

Advanced Custom Fields Blogging Child Themes Content Marketing CSS Customer Service Custom Fields Custom Post Types Diagnostics Domain Names Facebook FooGallery Genesis Hosting HTML Images iPhone Libra Live Chat Marketing Media MemberPress MemberPress Courses Membership Sites Mobile-Friendly MySQL Photo Gallery php Pinterest Plugins Post Formats Pricing Project Management SEBA SEO Seth Godin Shortcodes Social Networking Surveys Taxonomies Twitter Video Web design Web forms WordPress

Footer

Background

Web Sites | WordPress Support | Web Applications.

Formally trained in liberal arts and education (I have a B.A. in Government from Harvard and studied Secondary Education at Rutgers Graduate School), I have honed my skills in the communication arts and sciences as a teacher, trainer, instructional designer, writer, photographer, calligrapher, helpdesk manager, database programmer, and multimedia developer.

(I've also been a group counselor, waiter, bartender, bicycle messenger boy, computer salesman, carpenter's helper, financial analyst, and school board president.)

Tech

Systems since 1983.
Web sites since 1994.
PHP since 2001.
WordPress since 2007.

Contact

Book Meeting
770-772-5134
Email Jeff
Send Money
All Ways

Copyright 2026, nSiteful Web Builders, Inc.

Cookies Consent
To provide the best experiences, we use technologies like cookies to store and/or access device information. Consenting to these technologies will allow us to process data such as browsing behavior or unique IDs on this site. Not consenting or withdrawing consent, may adversely affect certain features and functions.
Functional Always active
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
The technical storage or access that is used exclusively for statistical purposes. The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.
  • Manage options
  • Manage services
  • Manage {vendor_count} vendors
  • Read more about these purposes
View preferences
  • {title}
  • {title}
  • {title}
https://iframe.mediadelivery.net/embed/392008/42d18bc1-2adc-4741-b733-053d08d09c32
https://vz-000c5976-3ab.b-cdn.net/42d18bc1-2adc-4741-b733-053d08d09c32/play_720p.mp4

Receive occasional emails from Jeff