Permalink
Browse files

renaming

  • Loading branch information...
1 parent 7adb9f0 commit 5866d9f18a1a75e0daf57ee9985277552885a036 @jayfresh committed Mar 1, 2013
Showing with 61 additions and 0 deletions.
  1. +61 −0 themes/sos/page-90s.php
View
@@ -0,0 +1,61 @@
+<?php
+/* for 90s workshop page */
+get_header();
+?>
+ <div class="contentPage">
+ <?php if ( have_posts() ) :
+ while ( have_posts() ) : the_post(); ?>
+ <div class="contentColumn left">
+ <h1><?php the_title(); ?></h1>
+ <?php the_content(); ?>
+ </div>
+ <div class="eventbox plainbox left">
+ <div class="carouselContainer eventImageContainer">
+ <?php
+ $size = 'content-page';
+ if($images = get_children(array(
+ 'post_parent' => get_the_ID(),
+ 'post_type' => 'attachment',
+ 'numberposts' => -1, // show all
+ 'post_status' => null,
+ 'post_mime_type' => 'image',
+ 'order' => 'ASC',
+ 'orderby' => 'menu_order',
+ ))) { ?>
+ <ul class="carousel">
+ <li>
+ <iframe width="610" height="343" src="http://www.youtube.com/embed/F2AitTPI5U0?rel=0" frameborder="0" allowfullscreen></iframe>
+ </li>
+ <li>
+ <iframe width="610" height="343" src="http://www.youtube.com/embed/LlZydtG3xqI?rel=0" frameborder="0" allowfullscreen></iframe>
+ </li>
+ <li>
+ <iframe width="610" height="343" src="http://www.youtube.com/embed/2cIOeM0IgG0?rel=0" frameborder="0" allowfullscreen></iframe>
+ </li>
+ <li>
+ <iframe width="610" height="343" src="http://www.youtube.com/embed/FPoKiGQzbSQ?rel=0" frameborder="0" allowfullscreen></iframe>
+ </li>
+ <li>
+ <iframe width="610" height="343" src="http://www.youtube.com/embed/oCwlZgIQN1c?rel=0" frameborder="0" allowfullscreen></iframe>
+ </li>
+ <li>
+ <iframe width="610" height="343" src="http://www.youtube.com/embed/3KL9mRus19o?rel=0" frameborder="0" allowfullscreen></iframe>
+ </li>
+ <li>
+ <iframe width="610" height="343" src="http://www.youtube.com/embed/JWsRz3TJDEY?rel=0" frameborder="0" allowfullscreen></iframe>
+ </li>
+ <?php foreach($images as $image) {
+ $attsrc = wp_get_attachment_image_src($image->ID, $size);
+ $atttitle = apply_filters('the_title',$image->post_title); ?>
+ <li><img alt="<?php echo $atttitle; ?>" src="<?php echo $attsrc[0]; ?>"></li>
+ <?php } ?>
+ </ul>
+ <?php } ?>
+ </div>
+ </div>
+ <?php endwhile;
+ endif; ?>
+ </div>
+<?php
+get_footer();
+?>

0 comments on commit 5866d9f

Please sign in to comment.