I am trying to add a link to the Power Blog categories menu. I know I can do this with pages by adding a filter to the wp_page_menu function by using this function:
// Adds a home link to your menu
// http://codex.wordpress.org/Template_Tags/wp_page_menu
function childtheme_menu_args($args) {
$args = array(
'show_home' => 'Home',
'sort_column' => 'menu_order',
'menu_class' => 'menu',
'echo' => true
);
return $args;
}
add_filter('wp_page_menu_args','childtheme_menu_args');
However, I do not find a similar function for categories in the Codex. Does anyone know what I could do? I would guess that there is a wp_categories_menu function, but I've searched and cannot find any documentation on it. I went ahead and tried a filter anyway, but it didn't work:
// ADAM - Adding links to the categories menu
function childtheme_category_menu_args($args) {
$args = array(
'show_home' => 'Adam',
'sort_column' => 'menu_order',
'menu_class' => 'menu',
'echo' => true
);
return $args;
}
add_filter('wp_category_menu_args','childtheme_category_menu_args');
I am trying to add in external links to my categories menu. I am currently doing this easily with my page menu using the "Page Links To" plugin, but unfortunately the feature for adding manual links to categories hasn't made it's way into the plugin yet.
Anyone know how to add links to the categories menu?