WordPress.org

Making WordPress.org

Ticket #4727: 4727.diff

File 4727.diff, 5.1 KB (added by dingo_d, 10 months ago)

Patch with the proposed changes

  • wordpress.org/public_html/wp-content/themes/pub/wporg-breathe/style.css

    diff --git wordpress.org/public_html/wp-content/themes/pub/wporg-breathe/style.css wordpress.org/public_html/wp-content/themes/pub/wporg-breathe/style.css
    index 1bf10caa9..ec0f90640 100644
    td { 
    4141        padding: 10px;
    4242}
    4343
     44.entry-content blockquote {
     45  padding: 1.2em;
     46}
     47
    4448.entry-content h3 + h4 {
    4549        margin-top: 1em;
    4650}
    nav.handbook-navigation .nav-links a[rel="next"] { 
    10831087        .single-handbook .handbook-breadcrumbs ~ #primary {
    10841088                padding-top: 7rem;
    10851089        }
    1086        
     1090
    10871091        .single-handbook .handbook-name-container ~ .handbook-breadcrumbs {
    10881092                top: 5rem;
    10891093        }
  • wordpress.org/public_html/wp-content/themes/pub/wporg-themes/css/components/_main.scss

    diff --git wordpress.org/public_html/wp-content/themes/pub/wporg-themes/css/components/_main.scss wordpress.org/public_html/wp-content/themes/pub/wporg-themes/css/components/_main.scss
    index dfbfd0487..f67e303ec 100644
    ul, ol { 
    165165        opacity: 1;
    166166}
    167167
     168// Theme Widget area in the themes screen.
     169.theme-widget-area {
     170  background-color: #fff;
     171  padding-top: 20px;
     172}
     173
     174.theme-widget-area .widget-wrap {
     175  display: flex;
     176  flex-direction: row;
     177}
     178
     179.theme-widget-area .widget {
     180  flex: 1;
     181  margin-right: 14px;
     182}
     183
     184.theme-widget-area .textwidget {
     185  font-size: 12.8px;
     186  font-size: .8rem;
     187}
     188
     189@media only screen and (max-width: 600px) {
     190  .theme-widget-area .widget-wrap {
     191    flex-direction: column;
     192  }
     193}
     194
     195
    168196/**
    169197 * Theme Screenshot
    170198 *
  • wordpress.org/public_html/wp-content/themes/pub/wporg-themes/header.php

    diff --git wordpress.org/public_html/wp-content/themes/pub/wporg-themes/header.php wordpress.org/public_html/wp-content/themes/pub/wporg-themes/header.php
    index f025ea97e..d4e34de58 100644
    require WPORGPATH . 'header.php'; 
    2525<nav id="site-navigation" class="main-navigation" role="navigation">
    2626        <ul id="menu-theme-directory" class="menu">
    2727                <li><a href="<?php echo home_url( '/commercial/' ); ?>"><?php _e( 'Commercial Themes', 'wporg-themes' ); ?></a></li>
    28                 <li><a href="<?php echo home_url( '/getting-started/' ); ?>"><?php _e( 'Upload Your Theme', 'wporg-themes' ); ?></a></li>
    2928        </ul>
    3029</nav>
  • wordpress.org/public_html/wp-content/themes/pub/wporg-themes/index.php

    diff --git wordpress.org/public_html/wp-content/themes/pub/wporg-themes/index.php wordpress.org/public_html/wp-content/themes/pub/wporg-themes/index.php
    index 6df10966d..0692222e0 100644
     
    1313
    1414get_header();
    1515?>
    16         <div id="themes" class="wrap">
     16        <main id="themes" class="wrap">
    1717                <div class="wp-filter">
    1818                        <div class="filter-count">
    1919                                <span class="count theme-count"><?php echo number_format_i18n( $wp_query->found_posts ); ?></span>
    get_header(); 
    9292                <div class="theme-install-overlay"></div>
    9393                <div class="theme-overlay"></div>
    9494                <span class="spinner"></span>
    95         </div>
     95        </main>
     96        <aside class="theme-widget-area" role="complementary">
     97                <div class="widget-wrap wrap">
     98                        <div class="widget widget_text">
     99                                <h3 class="widget-title"><?php esc_html_e( 'Add Your Theme', 'wporg-themes' ); ?></h3>
     100                                <div class="textwidget"><?php printf( '%s <a href="%s" rel="noopener noreferrer nofollow" target="_blank">%s</a> %s',
     101                                        esc_html__( 'The WordPress theme directory is used by millions of WordPress users all over the world.', 'wporg-themes' ),
     102                                        esc_url( 'https://wordpress.org/themes/upload/' ),
     103                                        esc_html__( 'Submit your theme', 'wporg-themes' ),
     104                                        esc_html__( 'to the official WordPress.org theme repository.', 'wporg-themes' ) ); ?>
     105                                </div>
     106                        </div>
     107                        <div class="widget widget_text">
     108                                <h3 class="widget-title"><?php esc_html_e( 'Create a Theme', 'wporg-themes' ); ?></h3>
     109                                <div class="textwidget"><?php printf( '%s <a href="%s" rel="noopener noreferrer nofollow" target="_blank">%s</a> %s',
     110                                        esc_html__( 'Want to learn how to build a great theme? Check the', 'wporg-themes' ),
     111                                        esc_url( 'https://developer.wordpress.org/themes/' ),
     112                                        esc_html__( 'Theme Developer Handbook', 'wporg-themes' ),
     113                                        esc_html__( 'to learn all about WordPress theme development.', 'wporg-themes' ) ); ?>
     114                                </div>
     115                        </div>
     116                        <div class="widget widget_text">
     117                                <h3 class="widget-title"><?php esc_html_e( 'Stay Up-to-Date', 'wporg-themes' ); ?></h3>
     118                                <div class="textwidget"><?php printf( '%s <a href="%s" rel="noopener noreferrer nofollow" target="_blank">%s</a>',
     119                                        esc_html__( 'Trying to ensure a great experience for the theme authors and users, means that theme requirements change from time to time. Keep up with the latest changes by following the', 'wporg-themes' ),
     120                                        esc_url( 'https://make.wordpress.org/themes/' ),
     121                                        esc_html__( 'Theme Review Team\'s blog.', 'wporg-themes' ) ); ?>
     122                                </div>
     123                        </div>
     124                </div>
     125        </aside>
    96126
    97127<?php
    98128get_footer();