I have this code in my functions.php file
// We will build our custom menu first
// Remove the default Thematic Access
function remove_thematic_actions() {
remove_action('thematic_header','thematic_access',9);
}
add_action('init','remove_thematic_actions');
// Recreate the Thematic Access with menu-primary and menu-secondary
function childtheme_page_menu() { ?>
<div id="access">
<div class="skip-link">
<a href="#content" title="<?php _e('Skip navigation to the content', 'thematic'); ?>"><?php _e('Skip to content', 'thematic'); ?></a>
</div>
<?php wp_page_menu('show_home=1&exclude=36,37,39,41,44,46,48&menu_class=menu menu-primary'); ?>
<div class="menu menu-secondary">
<ul>
<!--<?php wp_list_pages('title_li=&include=36,37'); ?> Can be removed from here -->
</ul>
</div>
</div>
<?php }
add_action('thematic_header','childtheme_page_menu','9');
// Add a drop down sub menu
function childtheme_category_menu() { ?>
<div id="category-access">
<div id="category-menu" class="menu">
<div class="menu-title"><?php _e('', 'thematic'); ?></div>
<ul id="category-nav" class="sf-menu">
<?php wp_list_pages('include=36,37,39,48&title_li=&depth=2'); ?>
</ul>
</div>
</div>
<?php }
add_action('thematic_belowheader','childtheme_category_menu', 5);
The problem is that wp_list_pages is not generating nested lists. Specifying the depth argument has no effect on it.
Any ideas what might be interfering?
P.S. - First day with Thematic