Changeset 5820
- Timestamp:
- 08/17/2017 10:17:30 PM (7 years ago)
- Location:
- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/functions.php
r5816 r5820 224 224 \register_nav_menus( array( 225 225 'devhub-menu' => __( 'Developer Resources Menu', 'wporg' ), 226 'devhub-cli-menu' => __( 'WP-CLI Commands Menu', 'wporg' ), 226 227 ) ); 227 228 } -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/header.php
r3657 r5820 26 26 </div> 27 27 <div class="devhub-menu"> 28 <?php wp_nav_menu( array( 29 'theme_location' => 'devhub-menu', 28 <?php 29 $active_menu = is_post_type_archive( 'command' ) || is_singular( 'command' ) ? 'devhub-cli-menu' : 'devhub-menu'; 30 wp_nav_menu( array( 31 'theme_location' => $active_menu, 30 32 'container_class' => 'menu-container', 31 33 ) ); ?> -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/scss/main.scss
r5816 r5820 50 50 } 51 51 52 .devhub-menu .menu { 52 .devhub-menu .menu, 53 .devhub-cli-menu .menu { 53 54 list-style: none; 54 55 float: right;
Note: See TracChangeset
for help on using the changeset viewer.