extras.php 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. <?php
  2. /**
  3. * Template Name:Extras
  4. */
  5. ?>
  6. <?php get_header(); ?>
  7. <div id="container" class="onecolumn">
  8. <div id="content">
  9. <div class="hide">
  10. <div class="entry-content">
  11. <div class="separator"><img src="<?php bloginfo( 'template_url' ); ?>/images/separator_sb.png"/></div>
  12. <p>Kings of Pastry" is now available on DVD. Orders can be made by following the link below.</p>
  13. <h3><a href="http://firstrunfeatures.com/kingsofpastrydvd.html">Purchase the DVD</a></h3>
  14. <br />
  15. <?php query_posts('showposts=4&category_name=extras'); ?>
  16. <?php if (have_posts()) : ?><?php while (have_posts()) : the_post(); ?>
  17. <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
  18. <h3><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></h3>
  19. <?php the_excerpt();?>
  20. </div><!-- #post-<?php the_ID(); ?> -->
  21. <?php endwhile; endif; ?>
  22. <h3><a href="<?php echo home_url( '/' ); ?>extras">More Extras</a></h3>
  23. </div><!-- .entry-content -->
  24. </div>
  25. <?php query_posts('showposts=21&category_name=extras'); ?>
  26. <?php if (have_posts()) : ?><?php while (have_posts()) : the_post(); ?>
  27. <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
  28. <h3><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></h3>
  29. <?php the_content();?>
  30. </div><!-- #post-<?php the_ID(); ?> -->
  31. <div class="blog_separator"><img src="<?php bloginfo( 'template_url' ); ?>/images/separator_sb.png"/>
  32. </div>
  33. <?php endwhile; endif; ?>
  34. </div><!-- #content -->
  35. </div><!-- #container -->
  36. <div class="clear"></div>
  37. <?php get_footer(); ?>