• Greetings everyone,

    I was wondering if someone could help me with a little coding. I’m trying to remove a link off the navigation bar on my website. I believe this is the section of coding I am supposed to edit but I am not sure what or where to put the code:

    </div>
    
    				<div id="menubar">
    					<div id="mainmenu">
    					<?php
    						$indexpage_class = "page_item";
    						if ( is_home() ) { $indexpage_class = " current_page_item";	}
    					?>
    						<ul class="sf-menu">
    
    							<li class="<?php echo $indexpage_class; ?>"><a href="<?php echo get_settings('home'); ?>"><?php echo $dfblog_home_label ?></a></li>
    
    							<?php wp_list_pages('sort_column=menu_order&title_li='); /* old -> wp_list_pages('title_li=&depth=1'); */ ?>

    Any help would be greatly appreciated! Thanks guys,

    Ven
    MSN- Sand1und@hotmail.com
    AIM- Jsandlund18

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter jsandlund

    (@jsandlund)

    Anyone?

    Maybe if you post a link to your site, and describe exactly what it is that you are trying to remove/edit someone will take a look? I don’t think anyone can really tell at this point exactly what link you want to alter.

    Thread Starter jsandlund

    (@jsandlund)

    http://www.jsandlund.com

    I want my home page to be static and separate from all other pages so I set my home page to be “Welcome!” but I don’t want that to be a link in my navigation bar. How do I remove it, yet keep the content of that page as my home page?

    Thanks!

    <?php wp_list_pages('sort_column=menu_order&title_li=');
    this line – add an exclude to it like so

    `<?php wp_list_pages(‘sort_column=menu_order&exclude=14&title_li=’);
    make 14 whatever your page id is

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Removing link from navi bar?’ is closed to new replies.