Part of Slepp's ProjectsPastebinTURLImagebinFilebin
Feedback -- English French German Japanese
Create Upload Newest Tools Donate
Sign In | Create Account

Page nav broken
Sunday, September 16th, 2007 at 4:53:56am UTC 

  1. <?php get_header(); ?>
  2.  
  3. <?php get_sidebar(); ?>
  4.        
  5.         <ul id="navlist">
  6.                 <li><a href="/">Home</a></li>
  7.               <li><a href="<?php bloginfo('url'); ?>" id="current"> Blog Home</a></li>
  8.                 <li><a href="<?php bloginfo('url'); ?>/about" >About</a></li>
  9.                 <li><a href="<?php bloginfo('url'); ?>/archive-index" >Archives</a></li>
  10.                 <li class="last"><a href="<?php bloginfo('url'); ?>/contact">Contact</a></li>
  11.         </ul>
  12.  
  13.         <div id="content" class="narrowcolumn">
  14.  
  15.        <?php query_posts('posts_per_page=2'); ?>
  16.        
  17.         <?php if (have_posts()) :
  18.                 $i = 1; ?>
  19.                
  20.                 <?php while (have_posts()) : the_post();
  21.                        
  22.                         if ($i == 1) { ?>
  23.                                 <img src="<?php bloginfo('template_directory');?>/images/fresh.gif" id="fresh" alt="Newest Post" title="This post is guaranteed to be freshly published"/>
  24.                         <?php }
  25.                         ?>
  26.                        
  27.                         <p class="date"><?php the_time('F jS, Y') ?></p>
  28.                         <div class="post" id="post-<?php the_ID(); ?>">
  29.                        
  30.                                 <?php if ($i == 1) { ?>
  31.                                         <h2 class="posttitle" id="firstpost"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
  32.                                 <?php }
  33.                                         else { ?>
  34.                                         <h2 class="posttitle"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>   
  35.                                         <?php } ?>
  36.                                
  37.                                 <div class="entry">
  38.                                         <?php the_content('Continue reading...'); ?>
  39.                                 </div>
  40.                
  41.                                 <p class="postmetadata">
  42.                                 Posted by <?php the_author() ?> on  <?php the_time('l, F jS, Y') ?>
  43.                                 <?php comments_popup_link('No Comments', '1 person had their say', '% Comments','comments'); ?>
  44.                                 <a href="<?php the_permalink() ?>" rel="bookmark" class="permalink" title="Permanent Link to <?php the_title(); ?>">Permalink</a>
  45.                                 </p>
  46.                
  47.                         </div>
  48.                        
  49.                        
  50.                         <?php
  51.                                 $i = $i + 1;
  52.                                 endwhile; ?>
  53.  
  54.                
  55.                 <div class="navigation">
  56.                         <div class="alignleft"><?php next_posts_link('&laquo; Older entries') ?></div>
  57.                         <div class="alignright"><?php previous_posts_link('More Recent entries &raquo;') ?></div>                     
  58. </div> <!-- end navigation -->
  59.                
  60.                
  61.                
  62.         <?php else : ?>
  63.  
  64.                 <h2 class="center">Not Found</h2>
  65.                 <p class="center">Sorry, but you are looking for something that isn't here.</p>
  66.                 <?php include (TEMPLATEPATH . "/searchform.php"); ?>
  67.  
  68.         <?php endif; ?>
  69.  
  70.         </div>
  71.  
  72.  
  73.  
  74. <?php get_footer(); ?>

Update the Post

Either update this post and resubmit it with changes, or make a new post.

You may also comment on this post.

update paste below
details of the post (optional)

Note: Only the paste content is required, though the following information can be useful to others.

Save name / title?

(space separated, optional)



Please note that information posted here will expire by default in one month. If you do not want it to expire, please set the expiry time above. If it is set to expire, web search engines will not be allowed to index it prior to it expiring. Items that are not marked to expire will be indexable by search engines. Be careful with your passwords. All illegal activities will be reported and any information will be handed over to the authorities, so be good.

comments powered by Disqus
worth-right