Help - Search - Members - Calendar
Full Version: wordpress woes.
Forums > Resource Center > Support Center > Wordpress Support > Wordpress Resolved Topics
thesnowpirate
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?
jiyong
CODE
<div class="PostTime"><?php the_time('<b>j</b> <a>M Y</a>') ?> </div>

Shouldn't getting rid of this get rid of the dates?

Edit: Delete that code if it's on your page template.
thesnowpirate
deleting that gets rid of the blue/orange date box on the posts though too.

figured it out! using the wordpress manual of all things lol.

i needed to put if
CODE
( !is_page())


just before the date, and it removes it. horray. thanks for the help.

any comments on the design/colors?
thesnowpirate
does anyone know a way to not list a page? i currently have:

CODE
<?php wp_list_pages('title_li='); ?>


displaying all my pages. in a list.

is there a way to leave one of these pages out?
fixtatik
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.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.