<span class="name"><?php the_category(' '); ?> </span> </h1> <div class="show-description"> <?php convergence_show_description(); ?> </div> </div> <div class="hero-image"> <?php $image = get_the_image(array('size' => 'medium', 'link_to_post' => false, 'format' => 'array')); $image_url = convergence_villain_photon_image($image['url']); ?> <a href="<?php echo get_permalink(); ?> " title="<?php echo $image['alt']; ?> "> <img src="<?php echo $image_url; ?> " alt="<?php echo $image['alt']; ?> " class="<?php
<!-- intentionally no wrapping --> <?php $v_args = array("post_type" => "episode", "posts_per_page" => 3); $v_args = convergence_exclude_category('tf', $v_args); $v_args['tax_query'] = array(convergence_exclude_episode_attributes('hidden')); $v_loop = new WP_Query($v_args); $villain_episodes = array(); $feature_counter = 1; while ($v_loop->have_posts()) { $v_loop->the_post(); $villain_episodes[] = get_the_ID(); ?> <?php $f_img = get_the_image(array('size' => 'large', 'link_to_post' => false, 'format' => 'array')); $f_img = convergence_villain_photon_image($f_img['url']); ?> <div id="<?php echo 'villain-feature-' . $feature_counter++; ?> " class="feature" style="background-image: url('<?php echo $f_img; ?> ');"> <a class="cover" href="<?php echo get_permalink(); ?> "> <div class="mask"> <?php $show_title = get_the_title();