Changeset 6044
- Timestamp:
- 10/18/2017 10:19:27 PM (7 years ago)
- Location:
- sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/functions.php
r1641 r6044 27 27 ) ); 28 28 29 register_nav_menu( 'rosetta_main', __( 'Main Menu', 'rosetta' ) ); 30 29 register_nav_menus( [ 30 'rosetta_main' => __( 'Main Menu', 'rosetta' ), 31 'rosetta_resources' => __( 'Resources', 'rosetta' ), 32 ] ); 31 33 remove_action( 'wp_head', 'locale_stylesheet' ); 32 34 } -
sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/sidebar-page.php
r2250 r6044 32 32 <p><?php _e( 'For help with installing or using WordPress, consult our documentation in your language.', 'rosetta' ); ?></p> 33 33 34 <ul> 35 <?php wp_list_bookmarks( 'categorize=0&category_before=&category_after=&title_li=&' ); ?> 36 </ul> 34 <?php 35 if ( has_nav_menu( 'rosetta_resources' ) ) { 36 wp_nav_menu( [ 37 'theme_location' => 'rosetta_resources', 38 'container' => false, 39 'depth' => 1, 40 'fallback_cb' => false, 41 ] ); 42 } else { 43 ?> 44 <ul> 45 <?php wp_list_bookmarks( 'categorize=0&category_before=&category_after=&title_li=&' ); ?> 46 </ul> 47 <?php 48 }
Note: See TracChangeset
for help on using the changeset viewer.