web/wp-content/themes/thematic/thematicsamplechildtheme/functions.php
changeset 1 0d28b7c10758
equal deleted inserted replaced
0:0d9a58d2c515 1:0d28b7c10758
       
     1 <?php
       
     2 
       
     3 //
       
     4 //  Custom Child Theme Functions
       
     5 //
       
     6 
       
     7 // I've included a "commented out" sample function below that'll add a home link to your menu
       
     8 // More ideas can be found on "A Guide To Customizing The Thematic Theme Framework" 
       
     9 // http://themeshaper.com/thematic-for-wordpress/guide-customizing-thematic-theme-framework/
       
    10 
       
    11 // Adds a home link to your menu
       
    12 // http://codex.wordpress.org/Template_Tags/wp_page_menu
       
    13 //function childtheme_menu_args($args) {
       
    14 //    $args = array(
       
    15 //        'show_home' => 'Home',
       
    16 //        'sort_column' => 'menu_order',
       
    17 //        'menu_class' => 'menu',
       
    18 //        'echo' => true
       
    19 //    );
       
    20 //	return $args;
       
    21 //}
       
    22 //add_filter('wp_page_menu_args','childtheme_menu_args');
       
    23 
       
    24 
       
    25 ?>