Making WordPress.org

Changeset 4709


Ignore:
Timestamp:
01/17/2017 07:30:49 PM (8 years ago)
Author:
coffee2code
Message:

developer.wordpress.org: Officially open up the Theme Handbook.

Props SergeyBiryukov, Kenshino.
Fixes #2384.

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

Legend:

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

    r3281 r4709  
    4545        if (
    4646            // Naked /handbook/ request
    47             ( 'handbook' == get_query_var( 'name' ) && ! get_query_var( 'post_type' ) ) ||
    48             // Temporary: Disable access to handbooks unless a member of the site
    49             ( ! is_user_member_of_blog() && is_post_type_archive( array( 'theme-handbook' ) ) )
     47            ( 'handbook' == get_query_var( 'name' ) && ! get_query_var( 'post_type' ) )
    5048        ) {
    5149            wp_redirect( home_url() );
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/page-home-landing.php

    r4492 r4709  
    1616            <div class="handbook-banner section blue clear color">
    1717                <div class="inner-wrap three-columns">
    18                     <div class="widget box box-left transparent" style="color:#999;">
    19                         <h3 class="widget-title" style="color:#999;"><div class="dashicons dashicons-welcome-widgets-menus"></div><?php _e( 'Themes', 'wporg' ); ?></h3>
     18                    <div class="widget box box-left transparent">
     19                        <h3 class="widget-title"><div class="dashicons dashicons-welcome-widgets-menus"></div><?php _e( 'Themes', 'wporg' ); ?></h3>
    2020                        <p class="widget-description"><?php _e( 'Want to know all there is to know about theming and WordPress?', 'wporg' ); ?></p>
    21                         <?php if ( is_user_member_of_blog() ) : ?>
    2221                        <a href="<?php esc_attr_e( get_post_type_archive_link( 'theme-handbook' ) ); ?>" class="themes-go get-started go button"><?php _e( 'Develop Themes ', 'wporg' ); ?><span class="dashicons dashicons-arrow-right-alt2"></span></a>
    23                         <?php else :?>
    24                         <strong><em><?php _e( 'Coming Soon!', 'wporg' ); ?></em></strong>
    25                         <?php endif; ?>
    2622                    </div>
    2723                    <div class="widget box box-right transparent">
Note: See TracChangeset for help on using the changeset viewer.