Making WordPress.org


Ignore:
Timestamp:
02/27/2018 11:31:19 PM (6 years ago)
Author:
obenland
Message:

WP.org: Update about pages with child nav

Also fixes a minor issue for toggled navigations on small screens for all themes.

Props mapk, obenland.
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

    r6755 r6797  
    1414}
    1515
     16$GLOBALS['menu_items'] = [
     17    'philosophy' => __( 'Philosophy', 'wporg' ),
     18    'etiquette'  => __( 'Etiquette', 'wporg' ),
     19    'swag'       => __( 'Swag', 'wporg' ),
     20    'logos'      => __( 'Graphics & Logos', 'wporg' ),
     21];
     22
    1623// Prevent Jetpack from looking for a non-existent featured image.
    1724add_filter( 'jetpack_images_pre_get_images', function() {
     
    1926} );
    2027
    21 get_header();
     28get_header( 'child-page' );
    2229the_post();
    2330?>
     
    2734        <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
    2835            <header class="entry-header">
    29                 <h1 class="entry-title"><?php _esc_html_e( 'Graphics &amp; Logos', 'wporg' ); ?></h1>
     36                <h1 class="entry-title col-8"><?php _esc_html_e( 'Graphics &amp; Logos', 'wporg' ); ?></h1>
    3037            </header><!-- .entry-header -->
    3138
Note: See TracChangeset for help on using the changeset viewer.