Title: edit file login.php and register.php
Last modified: November 7, 2018

---

# edit file login.php and register.php

 *  Resolved [daitarn3](https://wordpress.org/support/users/daitarn3/)
 * (@daitarn3)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/edit-file-login-php-and-register-php/)
 * hello,
 * I need to customize the login.php and register.php page with the php code.
    I
   wanted to ask – not to lose the changes in case of update – if I have to create
   a folder within the child theme or there are other ways.
 * thank you
    Massimo

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [robsarna](https://wordpress.org/support/users/robsarna/)
 * (@robsarna)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/edit-file-login-php-and-register-php/#post-10855700)
 * Create a php file called page-login.php and page-register.php and add your php
   in there.
 * To get the form to show up either use the normal wp loop with shortcode in the
   wysiwyg or add <?php echo do_shortcode(‘[SHORTCODEHERE]’);?> to your template.
 *  Thread Starter [daitarn3](https://wordpress.org/support/users/daitarn3/)
 * (@daitarn3)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/edit-file-login-php-and-register-php/#post-10856707)
 * thanks for writing me
    unfortunately it does not change anything. I need to enter
   the php code between the “login” button and the writing “forgotten password”.
 *  Thread Starter [daitarn3](https://wordpress.org/support/users/daitarn3/)
 * (@daitarn3)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/edit-file-login-php-and-register-php/#post-10857402)
 * I solved: you have to create folders and sub-folders like the originals and copy
   the files inside.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘edit file login.php and register.php’ is closed to new replies.

 * ![](https://ps.w.org/ultimate-member/assets/icon-256x256.png?rev=3160947)
 * [Ultimate Member – User Profile, Registration, Login, Member Directory, Content Restriction & Membership Plugin](https://wordpress.org/plugins/ultimate-member/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ultimate-member/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ultimate-member/)
 * [Active Topics](https://wordpress.org/support/plugin/ultimate-member/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ultimate-member/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ultimate-member/reviews/)

## Tags

 * [login](https://wordpress.org/support/topic-tag/login/)
 * [php](https://wordpress.org/support/topic-tag/php/)

 * 3 replies
 * 2 participants
 * Last reply from: [daitarn3](https://wordpress.org/support/users/daitarn3/)
 * Last activity: [7 years, 8 months ago](https://wordpress.org/support/topic/edit-file-login-php-and-register-php/#post-10857402)
 * Status: resolved