Wordpress: step by step how to create a login
Friday 24 October, 2008 In this tutorial we'll see how to create a personal login procedure, using Ajax functionality via jQuery. There are several ways to customize the login Wordpress, for example through the use of hooks and filters add_action() add_filter() We use a more low-level, although we still interfaces to the kernel Wordpress. Also make sure to validate a user through the double email / password.
Why create a login?
- In some contexts can return uitle have the most control over the login page, to propose a custom layout to our registered users. You can also enrich the page with information, a logo from the classic "Password Forgotten?"
- To allow access via email (as shown here Treaty) instead of
user_loginstandard Wordpress - To be able to enter a login panel in the sidebar of our Blog
- And finally, to have a skeleton - and an idea - for a good Plugin

Environment
In our example / tutorial work on the root of Wordpress inside a folder mylogin I created two php files within this folder: index.php and logon.php The first contains the interface of our login, with all functions Javascript / jQuery which we serve. The second file, logon.php will contain the code to validate the user. Then we create a folder css and inside this file layout.css and a folder images Inside the folder images include a classic Ajax loader: create it online at AjaxLoad.info. At the end you should have:
- mylogin
- index.php
- logon.php
- css
- layout.css
- images
- ajax-loader.gif


























