PDA

View Full Version : Can't change visited link color in CSS


blade007
08-12-2008, 11:57 AM
I can't change the visited link color for the theme. (TheWebpreneur.ca) I tried putting this in my CSS file..


a:visited {

color:#009900;

text-decoration: line-through;

}


but nothing. That code is currently in there right now. Here is my CSS file, maybe you can figure out the problem..


* {

margin: 0;

padding: 0;

}



body {

color: #333;

background: #F1F3E8 url(images-blue/bg_pat.jpg) repeat-x;

font-family: "Lucida Sans Unicode", Verdana, sans-serif;

font-size: 75%;

line-height: 1.6;

}



h1, h2, h3, h4, h5, h6 {

font-family: Georgia, Geneva, Arial, Helvetica, sans-serif;

font-weight: normal;

color:#444;

}



#headline_h1 h1, #headline_h1 h2 {

font-size: 3.2em;

}



#headline_h1 h1 a, #headline_h1 h2 a { display: block; height: 40px; color: #fff; text-decoration: none; }

#headline_h1 h1 a:hover, #headline_h1 h1 a:active, #headline_h1 h2 a:hover, #headline_h1 h2 a:active { color: #fff; }



h1 {

font-size: 2em;

}



h2 {

font-size: 2em;

line-height: 1em;

}



h3 {

font-size: 1.5em;

line-height: 1;

margin-bottom: 1em;

}



h4 {

font-size: 1.2em;

line-height: 1.25;

margin-bottom: 1.25em;

}



h5 {

font-size: 1em;

font-weight: 700;

margin-bottom: 1.5em;

}



h6 {

font-size: 1em;

font-weight: 700;

}



p {

font-size: 1.1em;

margin: 0 0 1.5em;

}



blockquote {

background: url(images/quote.png) no-repeat;

color: #666;

margin: 15px;

padding-left: 25px;

}



em {

font-style: italic;

background: #efefe9;

}



strong {

font-weight: 700;

}



pre, code {

font-family: "Courier New", Courier, Monospace;

line-height: 1.5;

}



pre {

background: #efefe9;

border-top: 1px solid #ccc;

white-space: pre;

overflow: auto;

margin: 0 15px;

padding: 10px 15px;

max-height: 300px;

}



img {

border: none;

}



p img {

margin: 3px;

}





a:focus, a:hover {
color: #009FBF;
text-decoration: none;
}



a {

color: #009FBF;

text-decoration: underline;

outline: none;

}

a:visited {

color:#009900;

text-decoration: line-through;

}

ul, ol {

margin: 0 2.5em 1.5em;

}



ul li, ol li {

margin-bottom: 0.5em;

}



ul {

list-style-type: circle;

}



ol {

list-style-type: decimal;

}



input, textarea {

font-family: "Lucida Grande", Verdana, sans-serif;

}



.clear {

clear: both;

}



.container {

width: 1000px;

margin: 0 auto;

background:url(images/content_pat.gif) top repeat-y;

}



#header {

width: 100%;

height:136px;

background: url(images-blue/bg_pat.jpg) repeat-x;

}



#headline {

width:980px;

height:80px;

margin-left:14px;

}

#headline_h1 {

float:left;

width:660px;

display:block;

line-height:3.7em

}

.Desc {

color:#00b7e9;

font-size:21px;

line-height:32px;

float:left;

}



.headerMenu {

margin:0 0 0 0;

float:right;

display:block;

width:290px;

}

.headerMenu li{

float:left;

}



.headerMenu li a, .headerMenu li a:visited {

text-decoration : none;

color : #444;

border-bottom:none;

}

.headerMenu .rssIco{

display:block;

border:none;

margin-top:20px;

float:left;

}

.headerMenu .emailIco{

display:block;

width:200px;

border:none;

margin-left:10px;

float:right;

color:white;

font-size:16px;

}

.field {

background:#1D1F1E;

border:1px solid #404146;

width:190px;

height:20px;

color:#ccc;

padding:3px 3px 1px 7px;

}

.newsbutton {

float:right;

background:#050505;

border:1px solid #515459;

color:#A8AA9F;

font-size:10px;

font-weight:bold;

font-family:Lucida Sans Unicode, Trebuchet MS, Arial, Helvetica, sans-serif;

width:80px;

margin:1px 0 0 0;

cursor:pointer;

}





ul.menu {

list-style-type: none;

height: 45px;

margin: 0;

padding:1px 0 0 0;

font-weight:bold;

font-family:Trebuchet MS, Arial, Helvetica, sans-serif;

margin:0

}



li.page_item {

float: left;

display: inline;

font-size: 1.5em;

background: url(images-blue/menu_split.jpg) top left no-repeat;

height: 44px;

padding: 2px 0 0 1px;

}



li.page_item_1 { background: none; padding-left: 15px; }



li.page_item a {

color:white;

display: block;

text-decoration: none;

padding: 5px 10px 7px 10px;

}





li.page_item a:hover, li.current_page_item a {

color: #fff;

background: url(images-blue/menu_hover.jpg) center right repeat-x;

border:1px solid #1B7AAA;

border-bottom:none;

padding: 5px 9px 6px 9px;

}







#leftcolumn, #rightcolumn {

margin:0;

}



#leftcolumn {

float: left;

width: 660px;

margin-left:20px;

overflow: hidden;

}



#rightcolumn {

float: right;

width: 270px;

margin:0 20px 0 0;

}



.post {

padding: 0 0 20px 0;

}

.post_c {



}

.post_b {

width: 100%;

}



.naslov {

float:left;

width:550px;

}



.title h2 {
color: #009FBF;
}



.title h2 a {
color: #009FBF;
text-decoration: underline;
}



.title h2 a:hover {
color: #009FBF;
text-decoration: none;
}



.postdata {

color: #999;

margin-bottom: 5px;

}



.postdata a {

color: #009fc0;

font-weight: 700;

}



.komentari {

color: #999;

background:url(images/comment.gif) no-repeat;

float:right;

height:36px;

width:104px;

text-align:center;

margin-bottom: 5px;

padding-top:2px;

}



.komentari a, .komentari a:visited {

color: #666;

text-decoration:none;

font-weight: 700;

}

.komentari a:hover {

color: #009fc0;

text-decoration:none;

font-weight: 700;

}



.entry {

clear: both;

margin: 0;

}



.entry h3 {

font-size: 1.3em;

}



a.more-link {

color:#00A0C0;

text-transform:uppercase;

font-size:11px;

font-weight:bold;

text-decoration:none;

display:block;

float:left;

margin:5px 0 0 0;

}

a:hover.more-link {

color:#404040;

}



#related h3, h3#comments {

padding: 8px 15px 5px 0;

}



.pagers {

width: 98%;

margin: 0 auto;

height: 30px;

}



.pagers a {

color: #666;

}



/* -------------------

* Sidebar

------------------- */



ul#sidebar {

list-style-type: none;

margin: 0;

padding: 0;

}



#sidebar h2 {

color: white;

font-size: 1.3em;

margin-bottom: 20px;

font-family: Lucida Sans Unicode, Verdana, Arial, Helvetica, sans-serif

}



.widget {

background: url(images/side_h1.jpg) no-repeat;

padding: 9px 13px 5px 15px;

}

.widget_c {

background: url(images/widget_pat.gif) repeat-y;

}

.widget_b {

border-bottom: 1px solid #DADCCE;

margin-bottom:20px;

}



.widget ul {

list-style-type: none;

margin: 5px 10px 0 0;

width: 100%;

}



.widget ul li {

background: url(images-blue/arrow.gif) no-repeat;

background-position:0 1px;

color: #999;

padding-left: 20px;

}

.widget ul li:hover {

background: url(images-blue/arrow_hover.gif) no-repeat;

background-position:0 1px;

color: #999;

padding-left: 20px;

}



#sidebar2 a {

color: #009FBF;

font-size:14px;



text-decoration: none;

}


#sidebar2 a:hover {
color: #0091B6;
text-decoration: underline;
}


#sidebar a {

color: #333;

font-size:14px;



text-decoration: none;

}


#sidebar a:hover {
color: #0091B6;
}



.tagcloud {

font-family: Georgia, Geneva, Arial, Helvetica, sans-serif;

word-spacing: 5px;

}



/* Search */

.widget_search {

text-align: center;

background:url(images-blue/search_field.jpg) no-repeat;

padding: 0.5em 0 0.5em 0;

}

#searchform input {

width: 63px;

height:25px;

padding:0;

margin:2px 2px 0 0;

border:none;

float:right;

background:url(images-blue/search_button.jpg) no-repeat;

cursor:pointer;

}

input#s {

font-size: 1.2em;

width: 220px;

float:right;

border: none;

margin:0 5px 0 0;

background:none;

}



/* Comment Area */



.commentlist {

font-family: Georgia, Geneva, Arial, Helvetica, sans-serif;

margin: 0;

list-style-type:none;

}

.commentlist p {

padding:5px;

margin:0;

}



.komentar {

margin:0;

padding:0;

width:595px;

float:left;

}

.commentlist .body {

font-family: "Lucida Sans Unicode", Verdana, sans-serif;

padding: 0;

margin:0;

overflow: hidden;

float:left;

background:#F9F9F9;

width:100%;

}

.commentlist .body-author {

font-family: "Lucida Sans Unicode", Verdana, sans-serif;

padding: 0;

overflow: hidden;

background:#ECFBFF;

}



.commentlist li {

width: 100%;

padding: 0 0 5px 0;

clear:both;

border-top:1px solid #999;

}



.commentlist li .top {

color: #009FBF;

padding: 0;

margin-top:10px;

font-weight: bold;

}



.commentlist li .top a {

color: #009FBF;

}



.commentlist li .top span {

font-size: 0.9em;

font-weight: 400;

color:#666;

}



.gravatar {

float: right;

margin: 30px 0 5px 0;

border: 1px solid #00B4E5;

display:block;

height:60px;

width:60px;

float:right;

}

img.gravatar {

margin:0;

padding:0;

}



.theform {

padding: 1.5em 0 2em;

}



.theform label {

font-size: 0.9em;

vertical-align: middle;

}



#remember, #forget, #txpCommentHelpLink {

margin-left: 2em;

}



#commentform {

margin-left: 1em;

}



#commentform input:focus, #commentform textarea:focus {

border: 1px solid #C0C092;

background: #fcfcfc;

}



.comment_input {

vertical-align: middle;

width: 260px;

border: 1px solid #CFCFAF;

background: #F7F7F1;

padding: 0.3em;

margin-right: 5px;

}



.message_input {

font-size: 1em;

width: 90%;

height: 200px;

border: 1px solid #CFCFAF;

margin-top: 0.2em;

background: #F7F7F1;

padding: 0.3em;

}



.commentlist_error {

color: #c00;

}



.button {

background:url(images-blue/submit_bg.jpg) repeat-x;

color:white;

padding:3px 3px 2px 3px;

border:1px solid #0187AD;

line-height:23px;

font-weight:bold;

text-transform:uppercase;

font-size:11px;

font-family:Georgia, "Times New Roman", Times, serif;

cursor:pointer;

}



/* Footer */



#footer {

background: black url(images/footer_bg.jpg) bottom left repeat-x;

color: #555;

width: 100%;

padding: 10px 0 0 0;

display: block;

}

#footer .container {

background: url(images/footer_pat.gif) center top repeat-y;

margin: 0px auto;

margin-bottom:10px;

padding:0;

width:978px;

}

#footer h2{

color:#0091B6;

font-family: "Lucida Sans Unicode", Verdana, sans-serif;

font-size:19px;

letter-spacing:-1px;

}

#footer span {

color: #999;

}

#footer ul {

list-style-type:none;

margin:0;

padding:0;

background:none;

}

#footer li {

background: url(images-blue/footer_arrow.gif) no-repeat;

background-position:0px 5px;

padding:0 0 5px 17px;

margin:0;

}

#footer li:hover {

background: url(images-blue/footer_arrow_hover.gif) no-repeat;

background-position:0px 5px;

padding:0 0 5px 17px;

margin:0;

}





#footer a, #footer a:visited {

color: #999;

font-size:13px;

}

#footer a:hover {

color: #009FC1;

}



.footer_left {

float:left;

width:300px;

margin:0 30px 0 15px;

color:#ccc;

font-size:11px;

}



.footer_center {

clear:right;

float:left;

width:300px;

margin:0 30px 0 0;

}

.footer_right {

float:left;

width:290px;

}





.credits {

margin: 0;

padding: 10px 0 10px 0;

width:100%;

background:black;

font-size:12px;

color:#605C5B;

text-align:center;

width:auto;

font-weight:bold;

}

#footer .credits a, #footer .credits a:visited {

font-size:12px;

color:#605C5B;

text-decoration:none;

}

/***********************/



.postdata a:hover, .pagers a:hover {

color: #333;

}



.alignleft {

float: left;

}



.alignright {

float: right;

}



hr {

background: #E6E6D2;

color: #E6E6D2;

clear: both;

float: none;

width: 100%;

height: .1em;

margin: 0 0 1.4em;

border: none;

}



hr.space {

height: 4em;

}





.about {

background: url(images/about_pat.gif) repeat-y;

margin:0;

padding:0 0 10px 0;

}

.about h3 {

background: url(images/about_head.gif) no-repeat;

margin:0;

padding:10px 10px 3px 10px;

color:#1e778e;

font-family:Lucida Sans Unicode;

font-size:16px;

font-weight:bold;

}

.about p {

margin:0 10px 0 10px;

padding:0;

line-height:18px;

}

.about img {

float:left;

margin: 5px 10px 0 0;

}

.about_bottom {

margin-bottom:20px;

background: url(images/about_b.gif);

height:5px;

}





/* DomTab in Sidebar */

div.domtab {

margin:0;

margin-left:-10px;

margin-top:-2px;

margin-right:-10px;

}

.domtab ul.domtabs {

float: left;

margin: 0 0 10px 0;

padding:0;

}

.domtab ul.domtabs li {

display: inline;

float:left;

display:block;

padding: 0;

margin: 0;

font-size:14px;

font-weight:bold;

background:none;

}

.domtab ul.domtabs li a { padding: 0 6px 5px 7px; }

#sidebar li .domtab ul.domtabs li a {

display: block;

border: none;

text-decoration:none;

cursor:pointer;

color:white;

font-size:16px;

font-weight:normal

}

#sidebar li ul.domtabs li a:hover {

border: none;

text-decoration:none;

cursor:pointer;

color:white;

background:#333;

padding: 0 6px 3px 7px;

}

.domtab ul.domtabs li a {

color:white;

}

.domtab ul.domtabs a:hover {

color: white;

}

#sidebar li .domtab ul.domtabs .active {

background:white;

color:black;

padding: 0 6px 5px 7px;

}

div.domtab div {

clear:both;

}

div.domtab div ul li {

margin-left:10px;

}

div.domtab div ul li a {

display: block;

text-decoration:none;

}

div.domtab div ul li a:visited {

text-decoration:none;

}

div.domtab div ul li a:hover {

background:white;

}



.domtab ul {

list-style-type: none;

margin:0px;

padding:0;

}



.domtab menu .domtabs .TabLink {



}



* html ul#dom_categories li {

margin-top: -10;

}



* html ul#dom_categories li a {

margin-bottom:-12px;

}

* html ul#recent li a {

margin-bottom::1px;

}







/*************** SOCIJALNI LINKOVI ************************/

.inside_subpost {

display:block;

clear:both;

margin:10px 0 0 0;

padding:0;

}



.related_rss_icon {

margin-top:-10px;

float:left;

background:url(images-blue/rss.jpg) no-repeat;

width:50px;

height:50px;

}



.related_rss {

height:32px;

padding:0;

margin:0 0 10px 0;

color:#ECECEC;

line-height:30px;

font-size:15px;

font-weight:bold;

background: #00B4E5;

}

.related_rss a, .related_rss a:visited {

color:white;

text-decoration:underline;

}

.related_rss a:hover {

color:white;

text-decoration:none;

}



.nextlinks {

margin:0;

padding:0;

display:block;

clear:both;

float:left;

}

.nextlinks h2 {

margin:5px 0 5px 0;

padding:0;

font-size:19px;

}

.nextlinks ul {

margin:0;

padding:0;

}

.nextlinks li {

list-style-type:none;

margin:0;

padding:0 0 0 15px;

margin:3px 0 5px 0;

background:url(images-blue/arrow.gif) left no-repeat;

background-position: -3px 2px;

}

.nextlinks a {

line-height:13px;

font-size:13px;

padding:0

}

.social {
display:block;
margin:0;
padding:0;
width:140px;
float:right;
}
.social h2 {
margin:0 0 5px 0;
padding:0;
font-size:19px;
text-align:center;
letter-spacing:-1px;
}

.addthis {
margin:0 0 0 45px;
padding:0;
background:url(images/share.png) no-repeat;
text-align:center
}

.addthis span#sharethis_0 {
display:block;
overflow:hidden;
cursor:pointer;
width:50px;
height:50px;
}

.addthis a {
background:none!important;
width:50px;
height:50px;
padding:0!important;
margin:0;
text-indent:-100em;
overflow:hidden;
display:block;
}

#wp-calendar { width:200px; margin:0 0 10px 40px; padding: 0px; border:1px solid #666; }

#wp-calendar caption { padding: 0 0 3px 0; font-size:15px; color:#999; margin-left:40px;}

#wp-calendar table {}

#wp-calendar th { text-align: center; letter-spacing: -1px; padding: 3px;}

#wp-calendar td { color:#999; text-align: center; padding: 3px; font-size: 11px; border:1px solid #666; }

#wp-calendar td a { color:#ccc;}

Kevin
08-12-2008, 02:00 PM
Hi Blade,

Which area of the site are you trying to change the visited link color for. The css code you specified is the default css code for visited links however if a certain class has also stated what the color should be it will supercede it.

if you let me know which part of the site you want to change (eg. sidebar, footer, post) I can tell you which class needs to be edited :)

Kevin

blade007
08-12-2008, 02:04 PM
Hi Blade,

Which area of the site are you trying to change the visited link color for. The css code you specified is the default css code for visited links however if a certain class has also stated what the color should be it will supercede it.

if you let me know which part of the site you want to change (eg. sidebar, footer, post) I can tell you which class needs to be edited :)

Kevin

Hi, I'm not trying to specify a certain class, I want all visited links to have the same color and effect

blade007
08-12-2008, 02:47 PM
nvmd, I got it to work, but another question I had was how do you create a page without having it appear in the navigation bar

sarahG
08-12-2008, 02:55 PM
In WordPress? add the parameter exclude to the wp_list_pages() function where ever the pages are listed, and make it exclude=ID where ID is the page id of the page you don't want to display. If exclude is already there, then add the ID in after the last ID with a comma separator. So you'd have either

wp_list_pages('exclude=3')

where 3 is the ID of the page or

wp_list_pages('exclude=1,2,3')

where 1, 2 and 3 are 3 page IDs you want to exclude.

More info along with a link to a handy plugin that can automate this for you - http://www.bloggingtips.com/2008/04/27/static-pages-in-wordpress/

blade007
08-12-2008, 03:10 PM
In WordPress? add the parameter exclude to the wp_list_pages() function where ever the pages are listed, and make it exclude=ID where ID is the page id of the page you don't want to display. If exclude is already there, then add the ID in after the last ID with a comma separator. So you'd have either

wp_list_pages('exclude=3')

where 3 is the ID of the page or

wp_list_pages('exclude=1,2,3')

where 1, 2 and 3 are 3 page IDs you want to exclude.

More info along with a link to a handy plugin that can automate this for you - http://www.bloggingtips.com/2008/04/27/static-pages-in-wordpress/

I changed

<?php wp_list_pages('title_li=&depth=1'); ?>

to

<?php wp_list_pages('title_li=&depth=1', 'exclude=11' ); ?>

and it doesn`t work

Kevin
08-12-2008, 03:21 PM
I changed

<?php wp_list_pages('title_li=&depth=1'); ?>

to

<?php wp_list_pages('title_li=&depth=1', 'exclude=11' ); ?>

and it doesn`t work

I believe that should be

<?php wp_list_pages('title_li=&depth=1&exclude=11' ); ?>

(correct me if im wrong Sarah:D)

If you are adding a lot of pages to your blog which you don't want to include in the nav bar it's probably better to just link to each page manually. That's what I do.

blade007
08-12-2008, 03:33 PM
I believe that should be

<?php wp_list_pages('title_li=&depth=1&exclude=11' ); ?>

(correct me if im wrong Sarah:D)

If you are adding a lot of pages to your blog which you don't want to include in the nav bar it's probably better to just link to each page manually. That's what I do.

it didn`t work; im not sure what you mean by just linking to each page manually, everytime i create a page a tab would automatically be created in the nav bar

i may be getting the id number wrong, how do u find the id number again

Kevin
08-12-2008, 03:47 PM
By manually I mean changing

<ul class="menu">
<li class="page_item page_item_1 <?php if ( is_home() ) { ?>current_page_item<?php } ?>"><a href="<?php echo get_settings('home'); ?>/" title="Home">Home</a></li>
<?php wp_list_pages('title_li=&depth=1' ); ?>
</ul>to something like

<ul class="menu">
<li class="page_item page_item_1 current_page_item"><a href="http://www.thewebpreneur.ca/" title="Home">Home</a></li>
<li class="page_item page-item-2"><a href="http://www.thewebpreneur.ca/about/" title="About">About</a></li>
<li class="page_item page-item-16"><a href="http://www.thewebpreneur.ca/resources/" title="Resources">Resources</a></li>
<li class="page_item page-item-13"><a href="http://www.thewebpreneur.ca/tools/" title="Tools">Tools</a></li>
<li class="page_item page-item-15"><a href="http://www.thewebpreneur.ca/money-makers/" title="Money Maker$">Money Maker$</a></li>
<li class="page_item page-item-8"><a href="http://www.thewebpreneur.ca/writers-wanted/" title="Writers Wanted">Writers Wanted</a></li>
<li class="page_item page-item-6"><a href="http://www.thewebpreneur.ca/advertise/" title="Advertise">Advertise</a></li>
<li class="page_item page-item-4"><a href="http://www.thewebpreneur.ca/contact/" title="Contact">Contact</a></li>
<li class="page_item page-item-590"><a href="http://www.thewebpreneur.ca/what-is-rss/" title="What is RSS?">What is RSS?</a></li>
</ul>

blade007
08-12-2008, 04:07 PM
By manually I mean changing

<ul class="menu">
<li class="page_item page_item_1 <?php if ( is_home() ) { ?>current_page_item<?php } ?>"><a href="<?php echo get_settings('home'); ?>/" title="Home">Home</a></li>
<?php wp_list_pages('title_li=&depth=1' ); ?>
</ul>to something like

<ul class="menu">
<li class="page_item page_item_1 current_page_item"><a href="http://www.thewebpreneur.ca/" title="Home">Home</a></li>
<li class="page_item page-item-2"><a href="http://www.thewebpreneur.ca/about/" title="About">About</a></li>
<li class="page_item page-item-16"><a href="http://www.thewebpreneur.ca/resources/" title="Resources">Resources</a></li>
<li class="page_item page-item-13"><a href="http://www.thewebpreneur.ca/tools/" title="Tools">Tools</a></li>
<li class="page_item page-item-15"><a href="http://www.thewebpreneur.ca/money-makers/" title="Money Maker$">Money Maker$</a></li>
<li class="page_item page-item-8"><a href="http://www.thewebpreneur.ca/writers-wanted/" title="Writers Wanted">Writers Wanted</a></li>
<li class="page_item page-item-6"><a href="http://www.thewebpreneur.ca/advertise/" title="Advertise">Advertise</a></li>
<li class="page_item page-item-4"><a href="http://www.thewebpreneur.ca/contact/" title="Contact">Contact</a></li>
<li class="page_item page-item-590"><a href="http://www.thewebpreneur.ca/what-is-rss/" title="What is RSS?">What is RSS?</a></li>
</ul>


how were u able to get the page id numbers

Kevin
08-12-2008, 04:10 PM
I just copied that from the source of your page as an example

Basically what you need to replace it with is :


<ul class="menu">
<li class="page_item page_item_1 current_page_item"><a href="http://www.thewebpreneur.ca/" title="Home">Home</a></li>
<li><a href="http://www.thewebpreneur.ca/about/" title="About">About</a></li>
<li><a href="http://www.thewebpreneur.ca/resources/" title="Resources">Resources</a></li>
<li><a href="http://www.thewebpreneur.ca/tools/" title="Tools">Tools</a></li>
<li><a href="http://www.thewebpreneur.ca/money-makers/" title="Money Maker$">Money Maker$</a></li>
<li><a href="http://www.thewebpreneur.ca/writers-wanted/" title="Writers Wanted">Writers Wanted</a></li>
<li><a href="http://www.thewebpreneur.ca/advertise/" title="Advertise">Advertise</a></li>
<li><a href="http://www.thewebpreneur.ca/contact/" title="Contact">Contact</a></li>
<li><a href="http://www.thewebpreneur.ca/what-is-rss/" title="What is RSS?">What is RSS?</a></li>
</ul>

sarahG
08-12-2008, 10:32 PM
Kevin, your code was spot on :)

If you want to create additional pages but keep your page list fixed, then instead of exclude, use include ;)

wp_list_pages('title_li=&depth=1&include=1,2,4,6,8,13,15,16,590');

Judging by the code Kevin posted up.

How you do you find out the page IDs? Go to Manage - Pages and then hover over a page. In the status bar you'll see the edit link with an ID tagged onto the end of it, that number is the page ID. Or install the handy plugin http://www.schloebe.de/wordpress/reveal-ids-for-wp-admin-25-plugin/ which will display Post, Page and category IDs.