Making WordPress.org


Ignore:
Timestamp:
03/29/2018 04:39:13 PM (6 years ago)
Author:
ocean90
Message:

Main: About: Use the actual page title for translatable page titles.

Adds context to all page titles. Reverts parts of [6969].

See #3046.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-main/page-about-logos.php

    r6950 r6972  
    1111
    1212$GLOBALS['menu_items'] = [
    13     'about/philosophy'   => __( 'Philosophy', 'wporg' ),
    14     'about/etiquette'    => __( 'Etiquette', 'wporg' ),
    15     'about/swag'         => __( 'Swag', 'wporg' ),
    16     'about/logos'        => __( 'Graphics & Logos', 'wporg' ),
    17     'about/testimonials' => __( 'Testimonials', 'wporg' ),
     13    'about/philosophy'   => _x( 'Philosophy', 'Page title', 'wporg' ),
     14    'about/etiquette'    => _x( 'Etiquette', 'Page title', 'wporg' ),
     15    'about/swag'         => _x( 'Swag', 'Page title', 'wporg' ),
     16    'about/logos'        => _x( 'Graphics & Logos', 'Page title', 'wporg' ),
     17    'about/testimonials' => _x( 'Testimonials', 'Page title', 'wporg' ),
    1818];
    1919
     
    3333        <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
    3434            <header class="entry-header">
    35                 <h1 class="entry-title col-8"><?php esc_html_e( 'Graphics &amp; Logos', 'wporg' ); ?></h1>
     35                <h1 class="entry-title col-8"><?php the_title(); ?></h1>
    3636            </header><!-- .entry-header -->
    3737
Note: See TracChangeset for help on using the changeset viewer.