Hi
I have a problem with the 'home' link position in the navigation menu. It is number two from (left to right) and i want it to be number one (far left).
I have selected 'static home-page' in wp-admin and added wp 3.0 menusupport in functions.php like so (full code provided)
When i add the page 'home' to wp menu manager it dosent matter where i drag it, it stays number two in the menu. (Its ok that i cant move it around, i just want it to be far left)
Tips??
-------------
<?php
//
// Custom Child Theme Functions
//
// I've included a "commented out" sample function below that'll add a home link to your menu
// More ideas can be found on "A Guide To Customizing The Thematic Theme Framework"
// http://themeshaper.com/thematic-for-wordpress/guide-customizing-thematic-theme-framework/
// 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');
// Lägg till WP 3 menyer
add_theme_support( 'menus' );
function child_access_menu() {
$menu_sys = 'wp_nav_menu';
return $menu_sys;
}
add_filter('thematic_menu_type', 'child_access_menu');
// Ta bort bloggbeskrivning
function remove_thematic_actions() {
remove_action('thematic_header','thematic_blogdescription',5);
}
add_action('init','remove_thematic_actions');
?>