foxdenvixen

two-column-page template

Jun 25th, 2012
21
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.34 KB | None | 0 0
  1. <?php
  2. /*
  3. Template Name: two-column-page
  4. */
  5. ?>
  6. <?php get_header(nosliderheader); ?>
  7. <!--call header-->
  8.  
  9. <div id="contentWrapper">
  10. <div id="twoCol_content">
  11. <h2><?php wp_title("",true); ?></h2>
  12.  
  13. <!-- Start THE Loop. -->
  14. <?php if(have_posts()) : while(have_posts()) : the_post(); ?>
  15. <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
  16. <p> <span class="author vcard">
  17. <?php the_author_posts_link(); ?>
  18. </span> <span class="sep">|</span> <abbr class="published" title="<?php the_time(__('l, F jS, Y, g:i a', 'example')); ?>">
  19. <?php the_time(__('F j, Y', 'example')); ?>
  20. </abbr>
  21. <?php edit_post_link(__('Edit', 'example'), ' <span class="sep">|</span> <span class="edit">', '</span> '); ?>
  22. </p>
  23. <div class="entry-content">
  24. <?php the_content(__('Continue reading', 'example')); ?>
  25. <?php wp_link_pages('before=<p class="pages">' . __('Pages:','example') . '&after=</p>'); ?>
  26. </div>
  27. </div>
  28. <?php endwhile; ?>
  29. <?php else : ?>
  30. <p>
  31. <?php _e('Sorry, no posts matched your criteria', 'example'); ?>
  32. </p>
  33. <?php endif; ?>
  34. <!--End THE Loop-->
  35.  
  36. <!-- #twoCol_content, #contentWrapper --></div>
  37. </div>
  38. <!--call sidebar_right.php-->
  39. <?php include(TEMPLATEPATH."/sidebar_right.php");?>
  40. <?php get_footer(); ?>
Add Comment
Please, Sign In to add comment