Title: Adding using PHP to page
Last modified: August 21, 2016

---

# Adding using PHP to page

 *  Resolved [therandomguy12345](https://wordpress.org/support/users/therandomguy12345/)
 * (@therandomguy12345)
 * [12 years, 12 months ago](https://wordpress.org/support/topic/adding-using-php-to-page/)
 * I want to add the log-in form using PHP to my auto-generated Registration page,
   so users have the option to login from there, too. Would I add it to my theme’s
   register.php page or how would I go about doing this?
 * Also, by default, where in the page/window will the login form pop-over show 
   up?
 * [http://wordpress.org/extend/plugins/wp-modal-login/](http://wordpress.org/extend/plugins/wp-modal-login/)
 * Respond as soon as possible.

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

 *  Plugin Author [Cole Geissinger](https://wordpress.org/support/users/brainfestation/)
 * (@brainfestation)
 * [12 years, 12 months ago](https://wordpress.org/support/topic/adding-using-php-to-page/#post-3806949)
 * The PHP script can be used anywhere in your theme. If you want the login link
   to display right after a piece of code, just place it right after that code. 
   The login form will always display ontop everything else, just the normal way
   a modal window works.
 *  Thread Starter [therandomguy12345](https://wordpress.org/support/users/therandomguy12345/)
 * (@therandomguy12345)
 * [12 years, 12 months ago](https://wordpress.org/support/topic/adding-using-php-to-page/#post-3807180)
 * Cole,
    If I login as administrator, it keeps saying Wrong credentials. I don’t
   know why. I know I’m using correct password though, because I copied password
   and used in normal wp-admin and it worked perfectly well.
 *  Plugin Author [Cole Geissinger](https://wordpress.org/support/users/brainfestation/)
 * (@brainfestation)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/adding-using-php-to-page/#post-3807287)
 * Please try updating to the latest version v2.0.2 and see if your login issues
   have been corrected. If not, open a new ticket in the support forum.

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

The topic ‘Adding using PHP to page’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-modal-login_999999.svg)
 * [WP Modal Login](https://wordpress.org/plugins/wp-modal-login/)
 * [Support Threads](https://wordpress.org/support/plugin/wp-modal-login/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-modal-login/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-modal-login/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-modal-login/reviews/)

## Tags

 * [Backend](https://wordpress.org/support/topic-tag/backend/)
 * [custom](https://wordpress.org/support/topic-tag/custom/)
 * [login](https://wordpress.org/support/topic-tag/login/)
 * [modal login](https://wordpress.org/support/topic-tag/modal-login/)
 * [php](https://wordpress.org/support/topic-tag/php/)
 * [register](https://wordpress.org/support/topic-tag/register/)
 * [Registration](https://wordpress.org/support/topic-tag/registration/)

 * 3 replies
 * 2 participants
 * Last reply from: [Cole Geissinger](https://wordpress.org/support/users/brainfestation/)
 * Last activity: [12 years, 11 months ago](https://wordpress.org/support/topic/adding-using-php-to-page/#post-3807287)
 * Status: resolved