Apps Ballance Cash_2 Chat Checkout Click Code Cog_Wheels Compose_email Conference Contacts Earth Edit_File_1_ Email Email_2 File Folder_2 Gift Group Group_2 Help ID ID_2 Key Keys Laptop_Store Like_1_ Link Lock Log_Out Map Marketing Mobile_UI Navigation POS Partnership Profile Safe_2 Search_User Secure_Files Settings Share Shield Shield_2 Shopping_Cart Support_Male Trash Type_pin User_female User_male logo copy

Example template customization

Iain Poulson avatar
Iain Poulson Last updated on March 6, 2021

Now that you’ve learned how to customize the templates and where to find them, let’s make a small test modification. In this example we will add some custom text above the registration form. 

Remember this is just a very simple example, custom text can obviously be added through the WordPress page editor.

1
Navigate to the wp-content/plugins/wp-user-manager/templates/ folder on your server. ( You should connect via FTP or any other way you use to access your files )
2
You will notice files and sub folders. The registration form template file can be found into the subfolder “forms“.
3
Open the subfolder “forms” and copy the file registration-form.php
4
Now navigate to your theme’s folder – for example wp-content/themes/twentyfifteen
5
Create a new folder called “wpum” if it does not exist.
6
Because the registration-form.php file was into a subfolder called “forms” – you must create a new folder called “forms” into your “wpum” folder.
7
Now paste the registration-form.php file that you have previously copied. Your structure should now look like this

8
Open up the file with your favorite code editor and add or modify the content of the file. In this example i’ve simply added a custom phrase at the top of the form:

Save the file and visit your registration page ( remember the registration form is visible only when NOT logged in ) and if you’ve done everything correctly, you will see your custom phrase on top of the form.

WP User Manager logo

Get Started with the Best WordPress Membership Plugin Today

Connect, Manage and Build your Membership Site

Need more help?

If you still didn't find an answer you can always contact us

Submit a ticket