Override Login Form Template

This topic contains 5 reply and 3 voices, and was last updated by Nayem 9 years, 6 months ago
Viewing 5 Posts - 1 through 5 (of 5 total)
Author Posts
April 30, 2015 at 4:14 pm 42776
Nayem How can I override the login form template for example? As I want to change the username label to username or email. I have tried copying the login-form.php into mytheme folder however that doesn't work. (using pro version) I have also tried creating and copying it into wp-user-frontend as well as wp-user-frontend-pro. Please show a working example of a folder structure that works for changing templates (no need for ftp access as it should be fairly simple however it's either not working or lack of documentation)
April 30, 2015 at 6:18 pm 42819
Nayem Nayem

Hello Connor,

If you want to override any template file of WPUF then you have to create a folder in your theme the folder name should be match with the plugin folder name. Then you have to copy the page which you want to override. Hope it will works.

Thanks.

May 1, 2015 at 5:46 pm 42877
Connor Connor

So if I copy login-form.php to mytheme/wp-user-frontend-pro/login-form.php it should work?

Is that the correct directory I should be copying my overriding templates into?

Can you comment an example folder directory.

May 2, 2015 at 10:20 am 42907
Nayem Nayem

Hello Connor,

It should work. Please try with that directory and let me know.

Thanks.

May 17, 2015 at 8:11 am 44180
Rob Rob

Hi

I can’t make this work. I’ve tried in /theme/, /theme/wp-user-frontend-pro/, and /theme/wp-user-frontend-pro/templates/. I’ve also tried these options without “-pro”.

Suggestions?

Thx
ROB

May 17, 2015 at 10:48 am 44182
Nayem Nayem

Hello Rob,

You can try like this- my theme/wpuf/your template file.

Thanks.

Viewing 5 Posts - 1 through 5 (of 5 total)