Hi,
In Power Blog child theme.
That's the function to add a home link in the menu, but instead of text I'd like to replace it by an image. How could i specify this in the function?
Thanks,
// 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',
'exclude' => '2', // Excluding pagess
'echo' => true
);
return $args;
}
add_filter('wp_page_menu_args','childtheme_menu_args');