Andy T
|
I'm having a little trouble with the sub items of my menu bar.
They are arranged a to z and I want them to appear according to page #.
Can I do this?
Do I change this in the theme functions?
I found this:
function art_menu_items()
{
global $artThemeSettings;
if (true === $artThemeSettings['menu.showHome'] && 'page' != get_option('show_on_front'))
echo '<li><a' . (is_home() ? ' class="active"' : '') . ' href="' . get_option('home') . '">'.$artThemeSettings['menu.topItemBegin']
. $artThemeSettings['menu.homeCaption'] . $artThemeSettings['menu.topItemEnd'] . '</a></li>';
add_action('get_pages', 'art_header_page_list_filter');
add_action('wp_list_pages', 'art_list_pages_filter');
wp_list_pages('title_li=');
remove_action('wp_list_pages', 'art_list_pages_filter');
remove_action('get_pages', 'art_header_page_list_filter');
}
do I change
wp_list_pages('title_li=');
to
wp_list_pages('sort_column=menu_order');
Or am I way off base.
Thanks,
Andy T
|