WordPress.org

Making WordPress.org

Changeset 5668


Ignore:
Timestamp:
07/13/17 16:04:47 (5 months ago)
Author:
drewapicture
Message:

developer.wordpress.org: Add WP-CLI to the homepage.

Converts the calls-to-action to a 2x1x2 display configuration, previously 3x1.

Props danielbachhuber for the initial patch.
Fixes #2937.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/page-home-landing.php

    r5624 r5668  
    1515 
    1616            <div class="handbook-banner section blue clear color"> 
    17                 <div class="inner-wrap three-columns"> 
     17                <div class="inner-wrap two-columns"> 
    1818                    <div class="widget box box-left transparent"> 
    1919                        <h3 class="widget-title"><div class="dashicons dashicons-welcome-widgets-menus"></div><?php _e( 'Themes', 'wporg' ); ?></h3> 
     
    2525                        <p class="widget-description"><?php _e( 'Ready to dive deep into the world of plugin authoring?', 'wporg' ); ?></p> 
    2626                        <a href="<?php echo esc_url( get_post_type_archive_link( 'plugin-handbook' ) ); ?>" class="plugins-go get-started go button"><?php _e( 'Develop Plugins ', 'wporg' ); ?><span class="dashicons dashicons-arrow-right-alt2"></span></a> 
    27                     </div> 
    28                     <div class="widget box box-right transparent"> 
    29                         <h3 class="widget-title"><div class="dashicons dashicons-controls-repeat"></div><?php _e( 'REST API', 'wporg' ); ?></h3> 
    30                         <p class="widget-description"><?php _e( 'Getting started on making WordPress applications?', 'wporg' ); ?></p> 
    31                         <a href="<?php echo esc_url( get_post_type_archive_link( 'rest-api-handbook' ) ); ?>" class="rest-api-go get-started go button"><?php _e( 'Make Applications ', 'wporg' ); ?><span class="dashicons dashicons-arrow-right-alt2"></span></a> 
    3227                    </div> 
    3328                </div> 
     
    4843            </div><!-- /new-in-guide --> 
    4944 
    50 <?php /* 
     45            <div class="handbook-banner section blue clear color"> 
     46                <div class="inner-wrap two-columns"> 
     47                    <div class="widget box box-left transparent"> 
     48                        <h3 class="widget-title"><div class="dashicons dashicons-controls-repeat"></div><?php _e( 'REST API', 'wporg' ); ?></h3> 
     49                        <p class="widget-description"><?php _e( 'Getting started on making WordPress applications?', 'wporg' ); ?></p> 
     50                        <a href="<?php esc_attr_e( get_post_type_archive_link( 'rest-api-handbook' ) ); ?>" class="rest-api-go get-started go button"><?php _e( 'Make Applications ', 'wporg' ); ?><span class="dashicons dashicons-arrow-right-alt2"></span></a> 
     51                    </div> 
     52                    <div class="widget box box-right transparent"> 
     53                        <h3 class="widget-title"><div class="dashicons dashicons-arrow-right-alt2"></div><?php _e( 'WP-CLI', 'wporg' ); ?></h3> 
     54                        <p class="widget-description"><?php _e( 'Want to accelerate your workflow managing WordPress?', 'wporg' ); ?></p> 
     55                        <a href="<?php esc_attr_e( get_post_type_archive_link( 'command' ) ); ?>" class="wp-cli-go get-started go button"><?php _e( 'Run Commands ', 'wporg' ); ?><span class="dashicons dashicons-arrow-right-alt2"></span></a> 
     56                    </div> 
     57                </div> 
     58            </div><!-- /topic-guide --> 
     59 
     60            <?php /* 
    5161            <main id="main" class="site-main section" role="main"> 
    5262 
Note: See TracChangeset for help on using the changeset viewer.