Making WordPress.org


Ignore:
Timestamp:
01/18/2016 09:10:41 PM (9 years ago)
Author:
stephdau
Message:

WordPress.org SSO: new custom template handling for login experience.

See #1524: wporg-login theme partof the work.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-login/header.php

    r2084 r2313  
    66 */
    77
    8 global $pagetitle, $wporg_global_header_options;
    9 $pagetitle = wp_title( '', false );
    10 wp_enqueue_style( 'blog-wp4', 'https://wordpress.org/style/blog-wp4.css', array(), 12 );
    11 wp_enqueue_style( 'theme', get_stylesheet_uri(), array(), filemtime( __DIR__ . '/style.css' ) );
     8//global $pagetitle, $wporg_global_header_options;
     9//$pagetitle = wp_title( '', false );
    1210
    13 $wporg_global_header_options = array(
    14     'menu' => '',
    15     'search' => '',
    16 );
     11wp_enqueue_style( 'normalize', get_template_directory_uri() . '/stylesheets/normalize.css', array(), filemtime( __DIR__ . '/style.css' ) );
     12wp_enqueue_style( 'custom-login', get_template_directory_uri() . '/stylesheets/login.css', array(), filemtime( __DIR__ . '/style.css' ) );
     13?>
     14<!doctype html>
     15<html class="no-js" lang="">
     16<head>
     17<meta charset="utf-8">
     18<meta http-equiv="x-ua-compatible" content="ie=edge">
     19<title>WordPress.org OAuth Login</title>
     20<meta name="description" content="">
     21<meta name="viewport" content="width=device-width, initial-scale=1">
    1722
    18 require WPORGPATH . 'header.php';
     23<?php wp_head(); ?>
     24</head>
     25<body>
     26
     27<div class="wrapper">
     28    <div class="login">
     29        <h1><a href="https://wordpress.org/" title="WordPress.org" tabindex="-1">WordPress.org Login</a></h1>
Note: See TracChangeset for help on using the changeset viewer.