Changeset 620 for trunk/extras/my_themes/functions.php
- Timestamp:
- Jun 14, 2010, 2:31:35 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/extras/my_themes/functions.php
r619 r620 1 1 <?php 2 load_theme_textdomain('xpress'); 3 2 4 if ( function_exists('register_sidebar') ) 3 5 register_sidebar(array( … … 8 10 )); 9 11 10 11 12 13 12 // This theme uses wp_nav_menu() 13 if ( function_exists('add_theme_support') )add_theme_support( 'nav-menus' ); 14 // This theme uses wp_nav_menu() in one location. 15 if ( function_exists('add_theme_support') ){ 14 16 register_nav_menus( array( 15 'primary' => __( 'Primary Navigation', 'xpress'),17 'primary' => __('Primary Navigation','xpress'), 16 18 ) ); 17 } 18 load_theme_textdomain('xpress'); 19 } 19 20 20 21 function xpress_head() {
Note: See TracChangeset
for help on using the changeset viewer.