Making WordPress.org


Ignore:
Timestamp:
02/27/2018 11:31:19 PM (7 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-privacy.php

    r6744 r6797  
    1414}
    1515
     16$GLOBALS['menu_items'] = [
     17    'domains' => __( 'Domains', 'wporg' ),
     18    'license' => __( 'GNU Public License', 'wporg' ),
     19    'privacy' => __( 'Privacy Policy', 'wporg' ),
     20    'stats'   => __( 'Statistics', 'wporg' ),
     21];
     22
    1623// Prevent Jetpack from looking for a non-existent featured image.
    1724add_filter( 'jetpack_images_pre_get_images', function() {
     
    2835} );
    2936
    30 get_header();
     37get_header( 'child-page' );
    3138the_post();
    3239?>
     
    3643        <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
    3744            <header class="entry-header">
    38                 <h1 class="entry-title"><?php _esc_html_e( 'Privacy', 'wporg' ); ?></h1>
     45                <h1 class="entry-title col-8"><?php _esc_html_e( 'Privacy', 'wporg' ); ?></h1>
    3946            </header><!-- .entry-header -->
    4047
Note: See TracChangeset for help on using the changeset viewer.