Making WordPress.org


Ignore:
Timestamp:
03/12/2024 04:35:54 AM (14 months ago)
Author:
adamwood
Message:

wporg-support-2024: Reconfigure front page content

File:
1 edited

Legend:

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

    r13272 r13309  
    1313        <div class="wp-block-group alignwide is-layout-flow wp-block-group-is-layout-flow">
    1414
    15             <?php if ( ! is_active_sidebar( 'front-page-blocks' ) ) : ?>
    16                 <?php get_template_part( 'template-parts/bbpress', 'front' ); ?>
    17             <?php else : ?>
     15            <?php if ( is_active_sidebar( 'front-page-blocks' ) ) : ?>
     16
    1817                <div class="three-up helphub-front-page">
    1918                    <?php dynamic_sidebar( 'front-page-blocks' ); ?>
     
    2726                    </p>
    2827                </div>
     28
     29            <?php else : ?>
     30
     31                <section class="three-up" id="forum-welcome">
     32                    <div>
     33                        <div class="info-box">
     34                            <span class="dashicons <?php
     35                                /* translators: dashicon class name for 'Welcome to Support' section. Do not translate into your own language. */
     36                                esc_attr_e( 'dashicons-sos', 'wporg-forums' );
     37                            ?>"></span>
     38                            <h3><?php _e( 'Welcome to Support', 'wporg-forums' ); ?></h3>
     39                            <p><?php _e( 'Our community-based Support Forums are a great place to learn, share, and troubleshoot.', 'wporg-forums' ); ?></p>
     40                            <p><?php _e( '<a href="https://wordpress.org/support/welcome/">Get started</a>', 'wporg-forums' ); ?></p>
     41                        </div>
     42                    </div>
     43                    <div>
     44                        <div class="info-box">
     45                            <span class="dashicons <?php
     46                                /* translators: dashicon class name for 'Documentation' section. Do not translate into your own language. */
     47                                esc_attr_e( 'dashicons-portfolio', 'wporg-forums' );
     48                            ?>"></span>
     49                            <h3><?php _e( 'Documentation', 'wporg-forums' ); ?></h3>
     50                            <p><?php _e( 'Your first stop where you\'ll find information on everything from installing to creating plugins.', 'wporg-forums' ); ?></p>
     51                            <p><?php _e( '<a href="https://wordpress.org/support/">Explore documentation</a>', 'wporg-forums' ); ?></p>
     52                        </div>
     53                    </div>
     54                    <div>
     55                        <div class="info-box">
     56                            <span class="dashicons <?php
     57                                /* translators: dashicon class name for 'Get Involved' section. Do not translate into your own language. */
     58                                esc_attr_e( 'dashicons-hammer', 'wporg-forums' );
     59                            ?>"></span>
     60                            <h3><?php _e( 'Get Involved', 'wporg-forums' ); ?></h3>
     61                            <p><?php _e( 'The Support Handbook is great for tips, tricks, and advice regarding giving the best support possible.', 'wporg-forums' ); ?></p>
     62                            <p><?php _e( '<a href="https://make.wordpress.org/support/handbook/">Explore the Handbook</a>', 'wporg-forums' ); ?></p>
     63                        </div>
     64                    </div>
     65                </section>
     66
     67                <?php get_template_part( 'template-parts/bbpress', 'front' ); ?>
     68
    2969            <?php endif; ?>
    3070
Note: See TracChangeset for help on using the changeset viewer.