Making WordPress.org

Ticket #3152: 3152.diff

File 3152.diff, 4.3 KB (added by xkon, 4 years ago)

Re-arranges Helpful Links

  • wordpress.org/public_html/wp-content/themes/pub/wporg-support/bbpress/loop-forums-homepage.php

    diff --git wordpress.org/public_html/wp-content/themes/pub/wporg-support/bbpress/loop-forums-homepage.php wordpress.org/public_html/wp-content/themes/pub/wporg-support/bbpress/loop-forums-homepage.php
    index d229ba9f..bb6a97a8 100644
     
    2727
    2828</div>
    2929
     30<div class="helpful-links">
     31    <h3><?php _e( 'Helpful Links', 'wporg-forums' ); ?></h3>
     32    <ul class="meta-list">
     33        <li><?php _e( '<a href="https://codex.wordpress.org/New_To_WordPress_-_Where_to_Start">New to WordPress &mdash; Where to Start</a>', 'wporg-forums' ); ?></li>
     34        <li><?php _e( '<a href="https://codex.wordpress.org/FAQ_Installation">Frequently Asked Questions about Installing WordPress</a>', 'wporg-forums' ); ?></li>
     35        <li><?php _e( '<a href="https://codex.wordpress.org/First_Steps_With_WordPress">First Steps with WordPress</a>', 'wporg-forums' ); ?></li>
     36        <li><?php _e( '<a href="https://codex.wordpress.org/Writing_Posts">Writing Posts</a>', 'wporg-forums' ); ?></li>
     37    </ul>
     38</div>
     39
    3040<?php do_action( 'bbp_template_after_forums_loop' ); ?>
  • wordpress.org/public_html/wp-content/themes/pub/wporg-support/page-homepage.php

    diff --git wordpress.org/public_html/wp-content/themes/pub/wporg-support/page-homepage.php wordpress.org/public_html/wp-content/themes/pub/wporg-support/page-homepage.php
    index 03c7392b..a019ae6a 100644
    get_header(); ?> 
    6464                        </div><!-- #viewdiv -->
    6565                </section>
    6666
    67                 <hr />
    68 
    69                 <section class="clear helpful-links">
    70                         <div>
    71                                 <h3><?php _e( 'Helpful Links', 'wporg-forums' ); ?></h3>
    72                                 <ul class="meta-list">
    73                                         <li><?php _e( '<a href="https://codex.wordpress.org/New_To_WordPress_-_Where_to_Start">New to WordPress &mdash; Where to Start</a>', 'wporg-forums' ); ?></li>
    74                                         <li><?php _e( '<a href="https://codex.wordpress.org/FAQ_Installation">Frequently Asked Questions about Installing WordPress</a>', 'wporg-forums' ); ?></li>
    75                                         <li><?php _e( '<a href="https://codex.wordpress.org/First_Steps_With_WordPress">First Steps with WordPress</a>', 'wporg-forums' ); ?></li>
    76                                         <li><?php _e( '<a href="https://codex.wordpress.org/Writing_Posts">Writing Posts</a>', 'wporg-forums' ); ?></li>
    77                                 </ul>
    78                         </div>
    79                 </section>
    80 
    8167                <?php do_action( 'bbp_after_main_content' ); ?>
    8268
    8369        </main>
  • wordpress.org/public_html/wp-content/themes/pub/wporg-support/style.css

    diff --git wordpress.org/public_html/wp-content/themes/pub/wporg-support/style.css wordpress.org/public_html/wp-content/themes/pub/wporg-support/style.css
    index e717f6c2..0b408f51 100644
    select { 
    35003500        font-size: 0.8rem;
    35013501}
    35023502
     3503.home.wporg-support .helpful-links {
     3504        margin: 0 0 4rem;
     3505        border-bottom: 1px solid #eee;
     3506        width: 100%;
     3507        float: left;
     3508}
     3509
     3510.home.wporg-support .helpful-links .meta-list li {
     3511        border: 0;
     3512}
     3513
    35033514@media (min-width: 48em) {
    3504         .home.wporg-support .helpful-links > div {
    3505                 width: 65%;
    3506                 float: left;
    3507                 margin-right: 5%;
     3515        .home.wporg-support .helpful-links {
     3516                width: 45%;
     3517                margin: 3rem 0 4rem;
     3518                border-bottom: none;
     3519                float: right;
     3520                position:relative;
    35083521        }
    35093522        .home.wporg-support .helpful-links > div:last-child {
    35103523                width: 30%;
    select { 
    35133526}
    35143527
    35153528.home.wporg-support .themes-plugins {
    3516         margin: 0 0 4rem;
     3529        margin: 0 0 1rem;
    35173530        border-bottom: 1px solid #eee;
    35183531}
    35193532
    select { 
    35263539        text-decoration: none;
    35273540}
    35283541
    3529 .home.wporg-support .themes-plugins h3 {
     3542.home.wporg-support .themes-plugins h3,
     3543.home.wporg-support .helpful-links h3 {
    35303544        font-size: 1.4rem;
    35313545        margin-bottom: 0;
    35323546        margin-top: 0;
    select { 
    35343548
    35353549@media (min-width: 48em) {
    35363550        .home.wporg-support .themes-plugins {
    3537                 width: 65%;
     3551                width: 45%;
    35383552                margin: 3rem 0 4rem;
    35393553                border-bottom: none;
     3554                float: left;
     3555                position:relative;
    35403556        }
    35413557        .home.wporg-support .themes-plugins p {
    35423558                font-size: 0.8rem;
    35433559        }
    35443560}
    35453561
     3562.home.wporg-support #viewdiv {
     3563        clear: both;
     3564}
     3565
    35463566/*--------------------------------------------------------------
    35473567# Single Forum
    35483568--------------------------------------------------------------*/