wordpress basic and advanced tutorials

simple to create custom login page template

Siva Subramaniyan 0 Comments

Easy to create custom login page template follow the below five steps.

STEP 1: CREATE PAGE TEMPLATE
Go to your theme folder create template file (ex.login.php) include the below code.
<?php
Template Name: login page
?>

STEP 2: GET HEADER AND OPEN Div
You will need to add in your WordPress header tag and any div:
<?php get_header(); ?>
<div class=”row_content-fixed”>
<div class=”blog_list_wrapper “>

STEP 3: LOGIN FORM CODE
Next past this code:

STEP 4: GET SIDEBAR and FOOTER
</div>
</div>
<?php get_sidebar(); ?>
<?php get_footer(); ?>

STEP 5: ASSIGN TO WORDPRESS PAGE
Create new page right side page attributes ->template->select your template.php after published.

Previous Post

Next Post