Subpages showing in nav bar
-
I want to prevent subpages from showing in the navbar. I’m using the theme Maroon1 and this is the header.php. Can anyone help? Thanks..
<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>
<html xmlns=”https://www.w3.org/1999/xhtml” <?php language_attributes(); ?>><head profile=”https://gmpg.org/xfn/11″>
<meta http-equiv=”Content-Type” content=”<?php bloginfo(‘html_type’); ?>; charset=<?php bloginfo(‘charset’); ?>” /><title><?php bloginfo(‘name’); ?> <?php if ( is_single() ) { ?> » Blog Archive <?php } ?> <?php wp_title(); ?></title>
<meta name=”generator” content=”WordPress <?php bloginfo(‘version’); ?>” /> <!– leave this for stats –>
<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’); ?>” />
<!–[if IE ]>
<link rel=”stylesheet” href=”<?=bloginfo(‘template_url’)?>/style-ie.css” type=”text/css” media=”screen” />
<![endif]–>
<!–[if IE 6]>
<link rel=”stylesheet” href=”<?=bloginfo(‘template_url’)?>/style-ie6.css” type=”text/css” media=”screen” />
<![endif]–><?php wp_head(); ?>
</head><body>
<div id=”body_page”>
<div id=”page”><div id=”header_top”>
<div id=”header_link”>
/”><?php echo get_option(‘home’); ?>
</div>
<div id=”right_search”>
<form method=”get” id=”searchform_top” action=”<?php bloginfo(‘url’); ?>/”>
<div>
<input type=”text” value=”Type and hit enter to search…” name=”s” id=”searchform_top_text” onclick=”this.value=”;” />
<input type=”image” src=”<?php bloginfo(‘template_url’)?>/images/go.gif” id=”gosearch” />
</div>
</form>
</div>
<div class=”clear”></div>
</div><div id=”header”>
<div id=”header_title”>
<h1>
/”><?php bloginfo(‘name’); ?><span class=”description”><?php bloginfo(‘description’); ?></span>
</h1>
<div id=”menu”>- /” id=”i_home”>Home
<?=wp_list_pages2()?>
<div class=”clear”></div>
</div>
</div>
<div id=”header_rss”>
“><img src=”<?php bloginfo(‘template_url’)?>/images/rss.png” alt=”RSS” />
</div>
<div class=”clear”></div>
</div><div id=”body”>
<div id=”body_left”>
<div id=”body_left_content”>
- The topic ‘Subpages showing in nav bar’ is closed to new replies.