Making WordPress.org


Ignore:
Timestamp:
03/05/2024 02:45:07 AM (15 months ago)
Author:
adamwood
Message:

Support Theme: Redesign iteration 1

Replace wp4 with wporg-parent-2021
Redesign forums homepage
Reskin templates

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-support-2024/front-page.php

    r7846 r13272  
    99get_header(); ?>
    1010
    11     <main id="main" class="site-main" role="main">
     11    <main id="main" class="wp-block-group alignfull site-main is-layout-constrained wp-block-group-is-layout-constrained" role="main">
    1212
    13         <?php if ( ! is_active_sidebar( 'front-page-blocks' ) ) : ?>
    14             <?php get_template_part( 'template-parts/bbpress', 'front' ); ?>
    15         <?php else : ?>
    16             <div class="three-up helphub-front-page">
    17                 <?php dynamic_sidebar( 'front-page-blocks' ); ?>
    18             </div>
     13        <div class="wp-block-group alignwide is-layout-flow wp-block-group-is-layout-flow">
    1914
    20             <hr>
     15            <?php if ( ! is_active_sidebar( 'front-page-blocks' ) ) : ?>
     16                <?php get_template_part( 'template-parts/bbpress', 'front' ); ?>
     17            <?php else : ?>
     18                <div class="three-up helphub-front-page">
     19                    <?php dynamic_sidebar( 'front-page-blocks' ); ?>
     20                </div>
    2121
    22             <div id="helphub-forum-link" class="text-center">
    23                 <h3><?php esc_html_e( 'Support Forums', 'wporg-forums' ); ?></h3>
     22                <div id="helphub-forum-link">
     23                    <h2><?php esc_html_e( 'Support Forums', 'wporg-forums' ); ?></h2>
    2424
    25                 <p>
    26                     <span>
    27                         <?php esc_html_e( 'Can\'t find what you\'re looking for? Find out if others share your experience.', 'wporg-forums' ); ?>
    28                     </span>
     25                    <p>
     26                        <?php esc_html_e( 'Can\'t find what you\'re looking for? Find out if others share your experience.', 'wporg-forums' ); ?> <a href="<?php echo esc_url( site_url( '/forums/' ) ); ?>"><?php esc_html_e( 'Check out our support forums', 'wporg-forums' ); ?></a>.
     27                    </p>
     28                </div>
     29            <?php endif; ?>
    2930
    30                     <br>
    31 
    32                     <a href="<?php echo esc_url( site_url( '/forums/' ) ); ?>"><?php esc_html_e( 'Check out our support forums', 'wporg-forums' ); ?></a>
    33                 </p>
    34             </div>
    35         <?php endif; ?>
     31        </div>
    3632
    3733    </main>
Note: See TracChangeset for help on using the changeset viewer.