StudioPress Community Forums
  StudioPress Community Forums > Forums > General Discussion
For help and support, access to your downloads, or to manage your account please log into My StudioPress.

These forums have been set to read-only so you can browse the existing topics for any questions you may have.

For general discussion on WordPress, CSS and design (NOT for support) visit the new Community Forums.
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #10  
Old 07-05-2009, 11:36 AM
Raid3n Raid3n is offline
Registered User
 
Join Date: Oct 2008
Posts: 101
Default Re: Please need help?

here is the code for my blog page

Quote:
<?php
/*
Template Name: Blog Page
*/
?>

<?php get_header(); ?>

<div id="content">

<div id="contentleft">

<div class="postarea">

<?php include(TEMPLATEPATH."/breadcrumb.php");?>




<?php $page = (get_query_var('paged')) ? get_query_var('paged') : 1; query_posts("cat=1&showposts=5&paged=$page"); while ( have_posts() ) : the_post() ?>
<h1><?php the_title(); ?></h1>

<div class="date">

<<div class="dateleft">


<span class="time"><?php the_time('F j, Y'); ?></span> </p>
</div>

<div class="dateright">


<span class="comment"><?php comments_popup_link('Leave a Comment', '1 Comment', '% Comments'); ?></span></p>
</div>

</div>

<?php the_content(__('[Read more]'));?><div style="clear:both;"></div>

<div class="postmeta2">
Filed Under: <?php the_category(', ') ?>
Tagged: <?php the_tags('') ?>
</div>

<?php endwhile; ?>



<?php posts_nav_link(); ?></p>
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 05:29 PM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.