WordPress.org

Make WordPress Core

Ticket #4478: sample.login-2.7.1.php

File sample.login-2.7.1.php, 349 bytes (added by stealthdave, 10 years ago)

new sample login for updated patch removes login_header_error call

Line 
1<?php
2/**
3 * defines custom login header and footer to provide a themed login page
4 */
5
6function login_header($title = 'Login') {
7        get_header();
8        get_sidebar();
9        ?>
10        <div id="main">
11<div id="login"><h2><?php echo $title ?></h2>
12<?php
13} // End of login_header()
14
15function login_footer() {
16?>
17        </div>
18<?php
19        get_footer();
20} // End of login_footer()
21?>