Making WordPress.org


Ignore:
Timestamp:
11/21/2014 10:04:40 AM (10 years ago)
Author:
obenland
Message:

WP.org Themes: Bring theme installer goodies to the front-end.

This brings most of the Backbone and Themes API-based functionality
from the admin's theme install screen to the front-end.

There are of course still loads of things to do, but it works
decently enough to share it with the world and give an idea of where
this is headed.

See https://make.wordpress.org/meta/2014/11/20/theme-repository-theme/
See #745.

File:
1 edited

Legend:

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

    r887 r1001  
    2222<link href="//s.w.org/wp-includes/css/dashicons.css?20140409" rel="stylesheet" type="text/css" />
    2323<link href='//fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,400,300,600&subset=latin,cyrillic-ext,greek-ext,greek,vietnamese,latin-ext,cyrillic' rel='stylesheet' type='text/css'>
    24 <link rel="stylesheet" href="//s.w.org/style/wp4.css?14" />
     24
    2525<link media="only screen and (max-device-width: 480px)" href="//s.w.org/style/iphone.css?1" type="text/css" rel="stylesheet" />
    26 <link rel="stylesheet" href="http://localhost/repotest/wp-admin/css/themes.css" />
    2726
    2827<link rel="shortcut icon" href="//s.w.org/favicon.ico" type="image/x-icon" />
     
    260259<div id="wporg-header">
    261260    <div class="wrapper">
    262     <a id="mobile-menu-button" class="" href="#" onclick="toggleMenu();"></a>
    263     <h1><a href="//wordpress.org">WordPress.org</a></h1>                <div id="head-search">
    264         <form action="//wordpress.org/search/do-search.php" method="get">
    265             <input class="text" name="search" type="text" value="" maxlength="150" placeholder="Search WordPress.org" /> <input type="submit" class="button" value="" />
    266         </form>
     261        <a id="mobile-menu-button" class="" href="#" onclick="toggleMenu();"></a>
     262        <h1><a href="//wordpress.org">WordPress.org</a></h1>
     263        <div id="head-search">
     264            <form action="//wordpress.org/search/do-search.php" method="get">
     265                <input class="text" name="search" type="text" value="" maxlength="150" placeholder="Search WordPress.org" /> <input type="submit" class="button" value="" />
     266            </form>
    267267        </div>
    268                 <div style="clear:both"></div>
    269        
     268        <div style="clear:both"></div>
     269
    270270<ul id="wporg-header-menu">
    271271<li><a href='//wordpress.org/showcase/' title='See some of the sites built on WordPress.'>Showcase</a></li>
     
    285285
    286286<div id="download-mobile">
    287     <div class="wrapper">
    288         <span class="download-ready">Ready to get started?</span><a class="button download-button" href="//wordpress.org/download/" title="Get it. Got it? Good.">Download WordPress</a>
    289     </div>
     287    <div class="wrapper">
     288        <span class="download-ready">Ready to get started?</span><a class="button download-button" href="//wordpress.org/download/" title="Get it. Got it? Good.">Download WordPress</a>
     289    </div>
    290290</div>
    291291
    292292<div id="headline">
    293293    <div class="wrapper">
    294         <a href="/themes/"><h2>Themes Directory</h2></a>
     294        <h2 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h2>
    295295
    296296        <p class="login">
     
    299299    </div>
    300300</div>
    301  
Note: See TracChangeset for help on using the changeset viewer.