• Resolved wpnikos

    (@wpnikos)


    Hi all

    I cannot override templates/profile files for posts and comments as described in the documentation:
    https://docs.ultimatemember.com/article/119-overriding-default-ultimate-member-profile-templates

    I kept exact the same structure as described in the documentation and checked if it is correct a thousand times.
    I am using a custom profile template without a problem and every template in that directory:/theme-folder/ultimate-member/templates/ eg. login.php gets overridden but not the ones in:/theme-folder/ultimate-member/templates/profile/

    Any help will be deeply appreciated

    Kind regards

    Nikos

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Champ Camba

    (@champsupertramp)

    Hi @wpnikos

    Could you please provide a screenshot showing the directory structure?

    Regards,

    Thread Starter wpnikos

    (@wpnikos)

    Hi Champ Camba

    Your question gave me the idea to have a look again and you saved the situation ??
    The documentation says in step 4:
    You can also create this folder in your theme or child theme:/theme-folder/ultimate-member/templates/profile/to override profile tab contents, the original profile templates are in:/plugin-folder/templates/profile/
    This is wrong
    After your comment by working on the snap-shot I noticed that in my child theme email templates were outside templates folder and I did not do that, this was done by the plugin while setting it up.
    email was in: /child-theme-folder/ultimate-member/email/
    I tried moving profile folder there as well
    /child-theme-folder/ultimate-member/profile/
    and Whoooooa !!!! it worked.
    The profile-2.php and other templates e.g login.php still need to be inside child-theme-folder/ultimate-member/templates/

    Here is the screen shot of the new working structure

    Thank you so much brother

    All the best

    Nikos

    PS I don’t know how to add the snap shot O_O

    • This reply was modified 4 years, 9 months ago by wpnikos.
    • This reply was modified 4 years, 9 months ago by wpnikos.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Templates override problem’ is closed to new replies.