Making WordPress.org

Changeset 6144


Ignore:
Timestamp:
11/17/2017 02:14:07 PM (7 years ago)
Author:
obenland
Message:

WP.org: Better mocks of wporg header & footer

See #2861.

Location:
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg/inc
Files:
2 edited

Legend:

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

    r6063 r6144  
    1111?>
    1212
    13 
    14     <footer id="colophon" class="site-footer">
    15         <div class="site-info">
    16             <a href="<?php echo esc_url( __( 'https://wordpress.org/', 'wporg' ) ); ?>"><?php
    17                 /* translators: %s: CMS name, i.e. WordPress. */
    18                 printf( esc_html__( 'Proudly powered by %s', 'wporg' ), 'WordPress' );
    19                 ?></a>
    20         </div><!-- .site-info -->
    21     </footer><!-- #colophon -->
    22 </div><!-- #page -->
     13<div id="wporg-footer">
     14    <h6 class="aligncenter cip-image">Code is Poetry.</h6>
     15</div>
    2316
    2417<?php wp_footer(); ?>
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg/inc/header.php

    r5877 r6144  
    2222</head>
    2323
    24 <body <?php body_class(); ?>>
     24<body id="wordpress-org" <?php body_class(); ?>>
     25<div id="wporg-header">
     26    <div class="wrapper">
     27        <a id="mobile-menu-button" class="" href="#" onclick="toggleMenu();"></a>
     28        <h1><a href="//wordpress.org">WordPress.org</a></h1>
     29        <div id="head-search">
     30            <form action="//wordpress.org/search/do-search.php" method="get">
     31                <label for="global-search" class="screen-reader-text">Search WordPress.org for:</label>
     32                <input id="global-search" class="text" name="search" type="text" value="" maxlength="150" placeholder="Search WordPress.org" /> <input type="submit" class="button" value="" />
     33            </form>
     34        </div>
     35        <div style="clear:both"></div>
     36
     37        <ul id="wporg-header-menu">
     38            <li><a href='//wordpress.org/showcase/' title='See some of the sites built on WordPress.'>Showcase</a></li>
     39            <li><a href='//wordpress.org/themes/' title='Find just the right look for your website.'>Themes</a></li>
     40            <li><a href='//wordpress.org/plugins/' title='Plugins can extend WordPress to do almost anything you can imagine.'>Plugins</a></li>
     41            <li><a href='//wordpress.org/mobile/' title='Take your website on the go!'>Mobile</a></li>
     42            <li><a href='//wordpress.org/support/' title='Forums, documentation, help.'>Support</a>
     43                <ul class="nav-submenu">
     44                    <li><a href='//wordpress.org/support/' title='Support and discussion forums.'>Forums</a></li>
     45                    <li><a href='//codex.wordpress.org/Main_Page' title='Documentation, tutorials, best practices.'>Documentation</a></li>
     46                </ul>
     47                <div class="uparrow"></div>
     48            </li>
     49            <li><a href='//make.wordpress.org/' title='Contribute your knowledge.'>Get Involved</a></li>
     50            <li><a href='//wordpress.org/about/' title='About the WordPress Organization, and where we&#039;re going.'>About</a></li>
     51            <li><a href='//wordpress.org/news/' title='Come here for the latest scoop.'>Blog</a></li>
     52            <li><a href='//wordpress.org/hosting/' title='Find a home for your blog.'>Hosting</a></li>
     53            <li id="download" class="button download-button"><a href='//wordpress.org/download/' title='Get it. Got it? Good.'>Download WordPress</a></li>
     54        </ul>
     55        <div style="clear:both"></div>
     56    </div>
     57</div>
Note: See TracChangeset for help on using the changeset viewer.