Making WordPress.org


Ignore:
Timestamp:
01/26/2023 04:23:09 PM (3 years ago)
Author:
ryelle
Message:

Support Forums: Update links in breadcrumb and header.

Update the home links in breadcrumbs and header bar to link to the forums landing page. Also updates the Documentation link to the new w.org/documentation URL.

Props zoonini.
Fixes #6704.

File:
1 edited

Legend:

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

    r11496 r12369  
    1515    /* translators: relative link to the forums home page */
    1616    _x( '/forums/', 'header menu', 'wporg-forums' )                                     => _x( 'Forums', 'header menu', 'wporg-forums' ),
    17     _x( 'https://wordpress.org/support/guidelines/', 'header menu', 'wporg-forums' )     => _x( 'Guidelines', 'header menu', 'wporg-forums' ),
    18     _x( 'https://wordpress.org/support/', 'header menu', 'wporg-forums' )               => _x( 'Documentation', 'header menu', 'wporg-forums' ),
     17    _x( 'https://wordpress.org/support/guidelines/', 'header menu', 'wporg-forums' )    => _x( 'Guidelines', 'header menu', 'wporg-forums' ),
     18    _x( 'https://wordpress.org/documentation/', 'header menu', 'wporg-forums' )         => _x( 'Documentation', 'header menu', 'wporg-forums' ),
    1919    _x( 'https://make.wordpress.org/support/handbook/', 'header menu', 'wporg-forums' ) => _x( 'Get Involved', 'header menu', 'wporg-forums' ),
    2020);
     
    3333            <div class="site-branding">
    3434                <?php if ( is_front_page() ) : ?>
    35                     <h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php _ex( 'WordPress Support', 'Site title', 'wporg-forums' ); ?></a></h1>
     35                    <h1 class="site-title"><a href="<?php echo esc_url( home_url( '/forums/' ) ); ?>" rel="home"><?php _ex( 'WordPress Support', 'Site title', 'wporg-forums' ); ?></a></h1>
    3636
    3737                    <p class="site-description">
     
    4343                    <?php get_search_form(); ?>
    4444                <?php else : ?>
    45                     <p class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php _ex( 'Support', 'Site title', 'wporg-forums' ); ?></a></p>
     45                    <p class="site-title"><a href="<?php echo esc_url( home_url( '/forums/' ) ); ?>" rel="home"><?php _ex( 'Support', 'Site title', 'wporg-forums' ); ?></a></p>
    4646
    4747                    <nav id="site-navigation" class="main-navigation" role="navigation">
Note: See TracChangeset for help on using the changeset viewer.