PDA

View Full Version : Help If You Can: My WPD Theme Cannot Handle New Pages


jaspereliot
11-19-2008, 04:56 PM
My WPD theme, Smart Green (http://demo7.theme4wordpress.com/?wptheme=smart-green) (http://demo7.theme4wordpress.com/?wptheme=smart-green) cannot handle new pages without breaking. As I add new pages, it puts the page title in the header, as you can see from the link I've provided above). This is fine if the only pages are 'Home' and 'Contact Us' but I want to add many additional pages, but it adds them ALL to the header, which breaks it. I don't care if the Home and Contact Us pages appear, but I don't want any new, added pages to be listed in the top header bar (and, of course, I do NOT want to add them as Posts.)

Does anyone here have enough experience with .css or .php to let me know what I should do? Not sure if this helps, but here's some navigation code from the style.css file that maybe has some connection to the solution???

______________________
#nav {
height: 30px;
background: url(images/nav_bg.gif) repeat-x top left;
}

#nav ul {
list-style-type: none;
margin: 0px;
padding: 0px;
}
#nav ul ul {
display: none;
}

#nav ul li {
padding: 7px 45px;
margin: 0 0 0px 0;
background: url(images/tab_a.gif) no-repeat center left;
color: #fc6;
float: left;
}
#nav ul li.home {
background:none
}

#nav ul li a {
display: block;
font-size: 12px;
text-decoration: none;
text-transform: uppercase;
color: #ffffff;
}

#nav ul li a:hover {
}

ishabluebell
11-20-2008, 02:32 PM
Jasper, I don't know the answers to your direct questions, but I'd seriously consider changing your theme and reporting your current one to WPD as a "broken" theme.

;)

jaspereliot
11-20-2008, 05:01 PM
I dug into the code and got the answer I needed:

Exclude Pages from List

Use the exclude parameter to hide certain Pages from the list to be generated by wp_list_pages.

<ul>
<?php wp_list_pages('exclude=17,38' ); ?>
</ul>

ebenezer
11-28-2008, 09:57 PM
look in your header.php file, not css

IMStrong
11-28-2008, 09:58 PM
I dug into the code and got the answer I needed:

Exclude Pages from List

Use the exclude parameter to hide certain Pages from the list to be generated by wp_list_pages.

<ul>
<?php wp_list_pages('exclude=17,38' ); ?>
</ul>
Thanks for sharing this.