<?php if (has_post_thumbnail() && of_get_option('enable_lightbox')) { ?> <div class="post-thumb"> <?php if ($video['vimeo-youtube'] != '' || $video['embedded-code'] != '') { ?> <a class="screencast-play" href="<?php echo $video; ?> " rel="prettyPhoto"><img class="opaque" src="<?php echo get_template_directory_uri(); ?> /resources/images/screencast-play.png" alt="screencast play" /></a> <?php video_lightbox(get_the_ID(), 430, 220); ?> <?php } else { ?> <a href="<?php echo get_thumbnail_url(); ?> " title="<?php the_title(); ?> " rel="prettyPhoto[gallery]"><?php resize_img("width=430&height=220"); ?> </a> <?php
<?php if (has_post_thumbnail() && of_get_option('enable_lightbox')) { ?> <div class="post-thumb"> <?php if ($video['vimeo-youtube'] != '' || $video['embedded-code'] != '') { ?> <a class="screencast-play" href="<?php echo $video; ?> " rel="prettyPhoto"><img class="opaque" src="<?php echo get_template_directory_uri(); ?> /resources/images/screencast-play.png" alt="screencast play" /></a> <?php video_lightbox(get_the_ID(), 205, 140); ?> <?php } else { ?> <a href="<?php echo get_thumbnail_url(); ?> " title="<?php the_title(); ?> " rel="prettyPhoto[gallery]"><?php resize_img("width=205&height=140"); ?> </a> <?php
<?php if (has_post_thumbnail() && of_get_option('enable_lightbox')) { ?> <div class="post-thumb"> <?php if ($video['vimeo-youtube'] != '' || $video['embedded-code'] != '') { ?> <a class="screencast-play" href="<?php echo $video; ?> " rel="prettyPhoto"><img class="opaque" src="<?php echo get_template_directory_uri(); ?> /resources/images/screencast-play.png" alt="screencast play" /></a> <?php video_lightbox(get_the_ID(), 280, 140); ?> <?php } else { ?> <a href="<?php echo get_thumbnail_url(); ?> " title="<?php the_title(); ?> " rel="prettyPhoto[gallery]"><?php resize_img("width=280&height=140"); ?> </a> <?php