web/wp-content/themes/thematic/thematicsamplechildtheme/functions.php
author ymh <ymh.work@gmail.com>
Mon, 22 Mar 2010 16:36:28 +0100
changeset 5 ac511f1ccc8e
parent 1 0d28b7c10758
permissions -rw-r--r--
add hgignore
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1
0d28b7c10758 First commit
ymh
parents:
diff changeset
     1
<?php
0d28b7c10758 First commit
ymh
parents:
diff changeset
     2
0d28b7c10758 First commit
ymh
parents:
diff changeset
     3
//
0d28b7c10758 First commit
ymh
parents:
diff changeset
     4
//  Custom Child Theme Functions
0d28b7c10758 First commit
ymh
parents:
diff changeset
     5
//
0d28b7c10758 First commit
ymh
parents:
diff changeset
     6
0d28b7c10758 First commit
ymh
parents:
diff changeset
     7
// I've included a "commented out" sample function below that'll add a home link to your menu
0d28b7c10758 First commit
ymh
parents:
diff changeset
     8
// More ideas can be found on "A Guide To Customizing The Thematic Theme Framework" 
0d28b7c10758 First commit
ymh
parents:
diff changeset
     9
// http://themeshaper.com/thematic-for-wordpress/guide-customizing-thematic-theme-framework/
0d28b7c10758 First commit
ymh
parents:
diff changeset
    10
0d28b7c10758 First commit
ymh
parents:
diff changeset
    11
// Adds a home link to your menu
0d28b7c10758 First commit
ymh
parents:
diff changeset
    12
// http://codex.wordpress.org/Template_Tags/wp_page_menu
0d28b7c10758 First commit
ymh
parents:
diff changeset
    13
//function childtheme_menu_args($args) {
0d28b7c10758 First commit
ymh
parents:
diff changeset
    14
//    $args = array(
0d28b7c10758 First commit
ymh
parents:
diff changeset
    15
//        'show_home' => 'Home',
0d28b7c10758 First commit
ymh
parents:
diff changeset
    16
//        'sort_column' => 'menu_order',
0d28b7c10758 First commit
ymh
parents:
diff changeset
    17
//        'menu_class' => 'menu',
0d28b7c10758 First commit
ymh
parents:
diff changeset
    18
//        'echo' => true
0d28b7c10758 First commit
ymh
parents:
diff changeset
    19
//    );
0d28b7c10758 First commit
ymh
parents:
diff changeset
    20
//	return $args;
0d28b7c10758 First commit
ymh
parents:
diff changeset
    21
//}
0d28b7c10758 First commit
ymh
parents:
diff changeset
    22
//add_filter('wp_page_menu_args','childtheme_menu_args');
0d28b7c10758 First commit
ymh
parents:
diff changeset
    23
0d28b7c10758 First commit
ymh
parents:
diff changeset
    24
0d28b7c10758 First commit
ymh
parents:
diff changeset
    25
?>