Ambulon
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Starkers Theme – remove "Home" from navigation menuOk – will do. Thanks for the note.
Forum: Fixing WordPress
In reply to: Starkers Theme – remove "Home" from navigation menuStill looking for assistance – I want to remove the “Home” item from the navigation. I have found all sorts of threads here and results on google that offer instructions on how to do this. However, when I look through the Starkers template for the swatches of code they refer to, I do not see anything similar. I have been sort of hacking my way through this build, slowly getting wordpress and Starkers to do what I want, and in the process I think I have utlized some code on the nav menu so that it does not use the usual wp_list_pages function. Consequently, any of the tips I see on forums for other users with the same problem aren’t of much help. They also often refer to setting up a custom menu via the dashboard through Appearance > Menus, but again, the Menus option is not listed in my dashboard.
I am using the latest version of Starkers, and WordPress 3.5.0.
This is the code that surrounds the menu in my footer:
<div id="menu"> <ul><?php $args = array( 'sort_column' => 'menu_order', ); $pages = get_pages($args); $separator = ''; foreach ($pages as $page){ $menu = $separator . ' <li><a>ID).'" title="">'.$page->post_title.' // </a></li> '; echo $menu."\n"; } ?></ul> </div>[Please post code or markup snippets between backticks or use the code button. Your posted code may now have been permanently damaged by the forum’s parser.]
Any help is greatly appreciated!
Forum: Fixing WordPress
In reply to: Starkers Theme – remove "Home" from navigation menuNote: I have found a few other threads that help with removing the “home” link from the navigation menu, but I find I am at a loss to apply the techniques suggested in this case, as the starkers theme is laid out differently and using the code suggested – in the places suggested – breaks the theme.