Log In · Register

 
wordpress woes.
thesnowpirate
post Aug 16 2009, 02:03 AM
Post #1


Member
**

Group: Member
Posts: 19
Joined: Aug 2009
Member No: 742,073



so im a bit new to wordpress (and using php a bit too) i understand how everything supposed to work, im just still learning to piece everything together.

so currently my page at:

http://www.rocketnight.com

and when you click on the php wp pagelinks on the right, they bring you to the correct pages, but they also show the date information from the blog posts.

how can i disable this?

its displaying june 21st on the pages, which i think was the day i installed wordpress, if that helps.

i only have two pages + a css page:

main index:

CODE
<!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">
<head>
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
</head>
<body>
<center>
<table name="main" width="870" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="28" rowspan="3"></td>
<td height="188" colspan="2"><img src="http://rocketnight.com/wp-content/themes/rocketnight1/images/header.jpg" border="0"></td>
<td width="28" rowspan="3""></td>
</tr>
<tr>
<td width="584" height="188"><center>
<div id="content">

<?php if (have_posts()) : while (have_posts()) : the_post();

include (TEMPLATEPATH . '/the_post.php'); //here comes the post

endwhile; endif; ?>

<?php if ( function_exists('pagination') AND is_home() )
pagination(11,array("Anterior","Siguiente"));

elseif (!is_single() AND !is_page()) { ?>
<div class="pagination"><?php posts_nav_link()?></div>
<?php } ?>


</div><!--#content--></center></td>
<td width="144" valign="top"><div align="center"><?php wp_list_pages( $args ); ?> </div></td>
</tr>

<tr>
<td height="37" colspan="2">f-f-f-footer info goes here</td>
</tr>
</table>

</center>
</body>
</html>




and a post page:


CODE
<div class="PostHead">

<div class="PostTime"><?php the_time('<b>j</b> <a>M Y</a>') ?> </div>
<h2><?php the_title(); ?></h2>
</div>

<div class="entry">
<p>
<?php the_content('<p class="serif">Read the rest of this entry &raquo;</p>'); ?>
</p>

</div>



any suggestions for making this work? please dont make fun of my center tags, ill get rid of them later, i swear.

ps. how does the whole blue/orange thing look? yay/nay?
Reason for edit: Please put codes in codeboxes. Thanks :) -Natalia
 
 
Start new topic
Replies
fixtatik
post Sep 5 2009, 07:27 PM
Post #2


Senior Member
******

Group: Member
Posts: 1,237
Joined: May 2008
Member No: 648,123



Just use the "exclude" condition (the numbers are the IDs of each page you don't want listed):
CODE
<?php wp_list_pages('exclude=1,2,3&title_li='); ?>


Surprisingly, listed in the WordPress documentation.
 

Posts in this topic


Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: