screenings.php 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <?php
  2. /**
  3. * Template Name: Screenings
  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. <h3>Screenings</h3>
  12. <img src="<?php bloginfo( 'template_url' ); ?>/images/screenings.jpg" width="300"/>
  13. <h3><a href="<?php echo home_url( '/' ); ?>theatricalpremiere">THEATRICAL PREMIERE</h3>
  14. <p>Film Forum, NYC<br />
  15. September 15, 2010</p>
  16. <div class="separator"><img src="<?php bloginfo( 'template_url' ); ?>/images/separator_sb.png"/>
  17. </div>
  18. <?php query_posts('showposts=7&order=asc&category_name=screenings&offset=1'); ?>
  19. <?php if (have_posts()) : ?><?php while (have_posts()) : the_post(); if( $post->ID == '189' ) continue; ?>
  20. <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
  21. <h3><a href="<?php echo home_url( '/' ); ?>screenings"><?php the_title(); ?></a></h3>
  22. <?php the_excerpt();?>
  23. </div><!-- #post-<?php the_ID(); ?> -->
  24. <?php endwhile; endif; ?>
  25. <h3><a href="<?php echo home_url( '/' ); ?>screenings">See More</a></h3>
  26. </div><!-- .entry-content -->
  27. </div>
  28. <?php query_posts('category_name=screenings&order=asc&posts_per_page=-1'); ?>
  29. <?php if (have_posts()) : ?><?php while (have_posts()) : the_post(); ?>
  30. <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
  31. <h3><?php the_title(); ?></h3>
  32. <div class="excerpt"><?php the_excerpt();?></div>
  33. <?php the_content();?>
  34. </div><!-- #post-<?php the_ID(); ?> -->
  35. <?php endwhile; endif; ?>
  36. <p><a href="<?php echo home_url( '/' ); ?>festivals/"> - Previous Festivals</a></p>
  37. </div><!-- #content -->
  38. </div><!-- #container -->
  39. <div class="clear"></div>
  40. <?php get_footer(); ?>