index.php 3.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. <?php get_header(); ?>
  2. <div id="slider-wrap">
  3. <div class="container">
  4. <div class="row">
  5. <div class="twelvecol slides">
  6. <div class="slided" data-autorotate="4000">
  7. <ul class="slider">
  8. <?php query_posts( array ( 'orderby' => 'date', 'post_type' => 'Film','posts_per_page' => 53 ) ); ?>
  9. <?php while (have_posts()) : the_post(); ?>
  10. <li class="slide">
  11. <a href="<?php the_permalink() ?>"><?php if ( has_post_thumbnail() ) { the_post_thumbnail('slide');} ?></a>
  12. <h1 class="film-title"><a href="<?php the_permalink() ?>"><?php the_title() ?></a></h1>
  13. <?php the_date('Y', '<h3>', '</h3>'); ?>
  14. <?php the_excerpt(); ?>
  15. </li>
  16. <?php endwhile; ?>
  17. </ul>
  18. </div>
  19. </div>
  20. </div>
  21. </div>
  22. </div>
  23. <div class="container front">
  24. <div class="row">
  25. <div class="eightcol">
  26. <h2 class="col-title" style="color:#777;text-align:center;">&nbsp;</h2>
  27. </div>
  28. <div class="fourcol last">
  29. <!--<h1 class="josefin-head" style="color:#777;text-align:center;">DVD HIGHLIGHT</h1>-->
  30. </div>
  31. </div>
  32. <div class="row">
  33. <div class="fourcol">
  34. <div class="press">
  35. <?php query_posts( array ( 'category_name' => 'Press', 'posts_per_page' => 3 ) ); ?>
  36. <?php while (have_posts()) : the_post(); ?>
  37. <article>
  38. <a href="<?php the_permalink() ?>" class="rollover" title="<?php the_excerpt();?>"><?php if ( has_post_thumbnail() ) { the_post_thumbnail();} ?></a>
  39. <h3 class="josefin"><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title_attribute(); ?>"><?php the_title() ?></a></h3>
  40. <?php the_excerpt();?>
  41. </article>
  42. <?php endwhile; ?>
  43. </div>
  44. </div>
  45. <div class="fourcol">
  46. <div class="press">
  47. <?php query_posts( array ( 'category_name' => 'Press', 'offset'=> 3, 'posts_per_page' => 3 ) ); ?>
  48. <?php while (have_posts()) : the_post(); ?>
  49. <article>
  50. <a href="<?php the_permalink() ?>" class="rollover" title="<?php the_excerpt();?>"><?php if ( has_post_thumbnail() ) { the_post_thumbnail();} ?></a>
  51. <h3 class="josefin"><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title_attribute(); ?>"><?php the_title() ?></a></h3>
  52. <?php the_excerpt();?>
  53. </article>
  54. <?php endwhile; ?>
  55. </div>
  56. <div class="more-press">
  57. <a href="press">More Press</a>
  58. </div>
  59. </div>
  60. <div class="fourcol last">
  61. <div class="press">
  62. <?php query_posts( array ( 'category_name' => 'News', 'posts_per_page' => 1 ) ); ?>
  63. <?php while (have_posts()) : the_post(); ?>
  64. <article>
  65. <a href="<?php the_permalink() ?>"><?php if ( has_post_thumbnail() ) { the_post_thumbnail('spotlight');} ?></a>
  66. <div class="clear">&nbsp;</div>
  67. <!--<h3 class="josefin"><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title_attribute(); ?>"><?php the_title() ?></a></h3>-->
  68. <?php the_excerpt();?>
  69. </article>
  70. <?php endwhile; ?>
  71. <iframe src="//www.facebook.com/plugins/likebox.php?href=https%3A%2F%2Fwww.facebook.com%2Fphfilms&amp;height=380&amp;show_faces=false&amp;colorscheme=light&amp;stream=true&amp;show_border=false&amp;header=true" style="border:none; overflow:hidden; width:100%; height:350px;"></iframe>
  72. <div class="social-tweet">
  73. <a class="twitter-timeline" href="https://twitter.com/PHFilms" data-widget-id="345670204174503936">Tweets by @PHFilms</a>
  74. <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
  75. </div>
  76. </div>
  77. </div>
  78. </div><!-- row -->
  79. </div>
  80. <?php get_footer(); ?>