Removed page from side menu but can’t seem from top menu
-
I’ve successfully removed a page from the side menu but accessible through using the following code:
wp_list_pages('exclude=24&title_li=');
but I cannot seem to to the same for the top menu. I found thewp_list_pages
in the sidebar for the last one and assume the top menu one should be in header.php but I cannot find thewp_list_pages
for the top menu.I’ve played about unsuccessfully with the header.php file but no joy so far, Can anyone help? Here’s my header.php file:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>> <head profile="http://gmpg.org/xfn/11"> <title><?php bloginfo('name'); ?> <?php if ( is_single ) { ?> » Blog Archive <?php } ?> <?php wp_title(); ?></title> <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" /> <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" /><link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" /> <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" /> <script type="text/javascript" src="<?php bloginfo('stylesheet_directory'); ?>/ie6sux.js"></script> <?php wp_head(); ?> </head> <body> <div id="page"> <div id="top"></div> <div id="header"> <div id="headerimg"> <?php if (is_front_page()) { ?> <h1><a href="<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a></h1> <?php } else { ?> <a href="<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a> <?php } ?> <div class="description"><?php bloginfo('description'); ?></div> </div> </div> <div class="clear whitespace"> </div>
Thanks
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Removed page from side menu but can’t seem from top menu’ is closed to new replies.