Template Override folder question

This topic contains 3 replies, has 3 voices, and was last updated by  Mitch Canton 6 months, 2 weeks ago.

Tagged: ,

  • Author
  • #6803

    Mitch Canton
    Free User
    Post count: 167

    In your docs it says:

    “Copy the template you want to change, say for example: profile.php, copy it from userswp/templates/profile.php to a folder in your theme called /userswp/profile.php”

    so if I wanted to change /wp-content/plugins/userswp/templates/bootstrap/login.php

    would it be:
    would it be

    I thought it had to be exactly the same folder structure, but the docs indicate otherwise. Not sure how it works for UWP.



    Alex Rollin
    Post count: 27815

    I will ask the developers to confirm.


    Post count: 1971


    You should override the files from templates to the theme via creating a userswp folder and copying the file you want to override and if the file is in another folder say bootstrap then you have to create that folder and then paste that file in that folder. So in your case, the correct path to override the file is /wp-content/themes/generatepress_child/userswp/bootstrap/login.php

    Let me know if it helps you or not.



    Mitch Canton
    Free User
    Post count: 167

    Hey Patrik,

    OK, so my error was in including the ‘templates’ folder in the structure. I had replicated it *exactly* from the plugin folder.

    I created without the /templates/ part and it works as I expected.


Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘Template Override folder question’ is closed to new replies, this may be for inactivity, please open a new topic if you have a similar question.