Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Merge branch 'redesign' of github.com:jayfresh/Seen-on-Screen into re…

…design
  • Loading branch information...
commit 83d6ed8fcab32c1f6684ff5bbabd37e682c89e6b 2 parents 8a0560c + fe29d9a
Jonathan Lister authored March 26, 2013
52  themes/sos/page-britney-dance-series.php
... ...
@@ -0,0 +1,52 @@
  1
+<?php
  2
+/* for Britney dance series page */
  3
+get_header();
  4
+?>
  5
+  		<div class="contentPage">
  6
+				<?php if ( have_posts() ) :
  7
+					while ( have_posts() ) : the_post(); ?>
  8
+				<div class="contentColumn left">
  9
+					<h1><?php the_title(); ?></h1>
  10
+					<?php the_content(); ?>
  11
+				</div>
  12
+				<div class="eventbox plainbox left">
  13
+					<div class="carouselContainer eventImageContainer">
  14
+					<?php
  15
+					$size = 'content-page';
  16
+					if($images = get_children(array(
  17
+						'post_parent'    => get_the_ID(),
  18
+						'post_type'      => 'attachment',
  19
+						'numberposts'    => -1, // show all
  20
+						'post_status'    => null,
  21
+						'post_mime_type' => 'image',
  22
+						'order'          => 'ASC',
  23
+						'orderby'        => 'menu_order',
  24
+					))) { ?>
  25
+						<ul class="carousel">
  26
+							<li>
  27
+								<iframe width="610" height="343" src="http://www.youtube.com/embed/Mzybwwf2HoQ?rel=0" frameborder="0" allowfullscreen></iframe>
  28
+							</li>
  29
+							<li>
  30
+								<iframe width="610" height="343" src="http://www.youtube.com/embed/C-u5WLJ9Yk4?rel=0" frameborder="0" allowfullscreen></iframe>
  31
+							</li>
  32
+							<li>
  33
+								<iframe width="610" height="343" src="http://www.youtube.com/embed/CduA0TULnow?rel=0" frameborder="0" allowfullscreen></iframe>
  34
+							</li>
  35
+							<li>
  36
+								<iframe width="610" height="343" src="http://www.youtube.com/embed/LOZuxwVk7TU?rel=0" frameborder="0" allowfullscreen></iframe>
  37
+							</li>
  38
+							<?php foreach($images as $image) {
  39
+								$attsrc  = wp_get_attachment_image_src($image->ID, $size);
  40
+								$atttitle = apply_filters('the_title',$image->post_title); ?>
  41
+							<li><img alt="<?php echo $atttitle; ?>" src="<?php echo $attsrc[0]; ?>"></li>
  42
+							<?php } ?>
  43
+						</ul>
  44
+					<?php } ?>
  45
+					</div>
  46
+				</div>
  47
+				<?php endwhile;
  48
+				endif; ?>
  49
+			</div>
  50
+<?php
  51
+get_footer();
  52
+?>
43  themes/sos/page-heels.php
... ...
@@ -0,0 +1,43 @@
  1
+<?php
  2
+/* for Heels masterclass page */
  3
+get_header();
  4
+?>
  5
+    	<div class="contentPage">
  6
+				<?php if ( have_posts() ) :
  7
+					while ( have_posts() ) : the_post(); ?>
  8
+				<div class="contentColumn left">
  9
+					<h1><?php the_title(); ?></h1>
  10
+					<?php the_content(); ?>
  11
+				</div>
  12
+				<div class="eventbox plainbox left">
  13
+					<div class="carouselContainer eventImageContainer">
  14
+					<?php
  15
+					$size = 'content-page';
  16
+					if($images = get_children(array(
  17
+						'post_parent'    => get_the_ID(),
  18
+						'post_type'      => 'attachment',
  19
+						'numberposts'    => -1, // show all
  20
+						'post_status'    => null,
  21
+						'post_mime_type' => 'image',
  22
+						'order'          => 'ASC',
  23
+						'orderby'        => 'menu_order',
  24
+					))) { ?>
  25
+						<ul class="carousel">
  26
+							<li>
  27
+								<iframe width="610" height="343" src="http://www.youtube.com/embed/PGc9n6BiWXA?rel=0" frameborder="0" allowfullscreen></iframe>
  28
+							</li>
  29
+							<?php foreach($images as $image) {
  30
+								$attsrc  = wp_get_attachment_image_src($image->ID, $size);
  31
+								$atttitle = apply_filters('the_title',$image->post_title); ?>
  32
+							<li><img alt="<?php echo $atttitle; ?>" src="<?php echo $attsrc[0]; ?>"></li>
  33
+							<?php } ?>
  34
+						</ul>
  35
+					<?php } ?>
  36
+					</div>
  37
+				</div>
  38
+				<?php endwhile;
  39
+				endif; ?>
  40
+			</div>
  41
+<?php
  42
+get_footer();
  43
+?>

0 notes on commit 83d6ed8

Please sign in to comment.
Something went wrong with that request. Please try again.