how to register a second page-template

After a quick look at the structure, I got to say it appears pretty standard. Simply follow the codex article on creating a page template and drop the new file in the theme’s root directory. Done. Any custom template for multiple pages should start like this: <?php /* Template Name: WPSE Template Example */

Redirect to custom login page

You can redirect requests to wp-login.php to your page: add_action( ‘login_head’, function() { $parsed = parse_url($_SERVER[‘REQUEST_URI’]); $redirect = site_url(‘mypage’); if (!empty($parsed[‘query’])) { $redirect .= ‘?’.$parsed[‘query’]; } wp_safe_redirect($redirect,301); exit; } ); However, wp-login.php appears ~34 times in Core on my 3.6.1 install ( grep -Rn “wp-login.php” * | wc -l ), and many of those do … Read more