Hi, thank you so much for providing this plugin! It’s amazing.
I am having issues with the user profiles and their templates.
Please note that I’ve spent a ton of time reading the doc
pages like this one(https://docs.ultimatemember.com/article/100-unique-profiles-for-different-user-roles) testing and debugging etc.
I have multiple roles on the site/app but will mention only 3 for clarity:
and for each of those, I need a different profile template (different home page).
In the UM forms section wp-admin/edit.php?post_type=um_form I have created 3 profile forms Default, Customer and Vendor.
Default Profile form is only working with profile-user.php if nothing is assigned
(Apply custom settings to this form: no).
If I assign the profile form only to the customer role this role will load the default template and no other roles will have the template working and even their custom templates will not work.
I have assigned the custom template to Customer and Vendor profiles with
Apply custom settings to this form: yes
Make this profile form role-specific: chosen the custom template for each one.
That’s not working either.
So my questions are:
1. What is the naming convention for custom templates for the roles?
profile-user.php is working for all roles on the default profile form but for example, profile-customer.php or profile-vednor.php are not working at all for me.
2. Do I need to have the separate user pages created for different roles and then load profile forms like this one [ultimatemember form_id=”279″] on them or one page is enough and the system will figure out itself what role is the current user(customer, vendor)?
3.If I have to have the separate pages how I am to make sure that the system is recognizing that a separate home page is a home for that role (vendor, customer) as I need to redirect those users to their home pages.
- The topic ‘Templates for user profiles’ is closed to new replies.