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-requirements.php

    r6744 r6797  
    1414}
    1515
     16$GLOBALS['menu_items'] = [
     17    'requirements' => __( 'Requirements', 'wporg' ),
     18    'features'     => __( 'Features', 'wporg' ),
     19    'security'     => __( 'Security', 'wporg' ),
     20    'roadmap'      => __( 'Roadmap', 'wporg' ),
     21    'history'      => __( 'History', 'wporg' ),
     22];
     23
    1624// Prevent Jetpack from looking for a non-existent featured image.
    1725add_filter( 'jetpack_images_pre_get_images', function() {
     
    2836} );
    2937
    30 get_header();
     38get_header( 'child-page' );
    3139the_post();
    3240?>
     
    3644        <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
    3745            <header class="entry-header">
    38                 <h1 class="entry-title"><?php _esc_html_e( 'Requirements', 'wporg' ); ?></h1>
     46                <h1 class="entry-title col-8"><?php _esc_html_e( 'Requirements', 'wporg' ); ?></h1>
    3947            </header><!-- .entry-header -->
    4048
Note: See TracChangeset for help on using the changeset viewer.