Making WordPress.org


Ignore:
Timestamp:
02/10/2020 08:34:46 PM (5 years ago)
Author:
coffee2code
Message:

Developer theme: Fix to actually output sidebar menu toggle for smaller viewports.

File:
1 edited

Legend:

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

    r7739 r9484  
    1414
    1515<header id="masthead" class="site-header<?php if ( is_front_page() ) { echo ' home'; } ?>" role="banner">
    16     <?php if ( get_query_var( 'is_handbook' ) ) : ?>
     16    <?php if ( function_exists( 'wporg_is_handbook' ) && wporg_is_handbook() ) : ?>
    1717    <a href="#" id="secondary-toggle" onclick="return false;"><strong><?php _e( 'Menu', 'wporg' ); ?></strong></a>
    1818    <?php endif; ?>
Note: See TracChangeset for help on using the changeset viewer.