Advertisement
Guest User

index.php

a guest
Oct 15th, 2012
32
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.83 KB | None | 0 0
  1. <?php get_header(); ?>
  2. <div class="span-24" id="contentwrap">
  3. <div class="span-16">
  4. <div id="content">
  5. <?php if (have_posts()) : ?>
  6. <?php while (have_posts()) : the_post(); ?>
  7.  
  8. <div <?php post_class() ?> id="post-<?php the_ID(); ?>">
  9. <h2 class="title"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
  10. <div class="postdate"><img src="<?php bloginfo('template_url'); ?>/images/date.png" /> <?php the_time('F jS, Y') ?> <img src="<?php bloginfo('template_url'); ?>/images/user.png" /> <?php the_author() ?> <?php if (current_user_can('edit_post', $post->ID)) { ?> <img src="<?php bloginfo('template_url'); ?>/images/edit.png" /> <?php edit_post_link('Edit', '', ''); } ?></div>
  11.  
  12. <div class="entry">
  13.  
  14. <?php the_content('Read the rest of this entry &raquo;'); ?>
  15. </div>
  16. </div><!--/post-<?php the_ID(); ?>-->
  17. <div class="postmeta"><img src="<?php bloginfo('template_url'); ?>/images/folder.png" /> Posted in <?php the_category(', ') ?> <?php if(get_the_tags()) { ?> <img src="<?php bloginfo('template_url'); ?>/images/tag.png" /> <?php the_tags('Tags: ', ', '); } ?></div>
  18. <?php if (function_exists('facebook_comments')) facebook_comments(); ?>
  19.  
  20. <?php endwhile; ?>
  21.  
  22. <div class="navigation">
  23. <div class="alignleft"><?php next_posts_link('&laquo; Older Entries') ?></div>
  24. <div class="alignright"><?php previous_posts_link('Newer Entries &raquo;') ?></div>
  25. </div>
  26. <?php else : ?>
  27. <h2 class="center">Not Found</h2>
  28. <p class="center">Sorry, but you are looking for something that isn't here.</p>
  29. <?php get_search_form(); ?>
  30.  
  31. <?php endif; ?>
  32. </div>
  33. </div>
  34.  
  35. <?php get_sidebars(); ?>
  36. </div>
  37. <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement