<h1>Recomendados</h1> <ul class="shows"> <?php $posts = get_posts(array('numberposts' => 6, 'exclude' => $mainPostID, 'post_type' => 'pt_tvseries', 'meta_key' => 'popularity', 'orderby' => 'meta_value_num', 'order' => 'DESC', 'meta_query' => array('relation' => 'OR', array('key' => 'genres', 'value' => $genres[0], 'compare' => 'LIKE'), array('key' => 'genres', 'value' => $genres[1], 'compare' => 'LIKE')))); if ($posts) { foreach ($posts as $post) { setup_postdata($post); ?> <li> <a href="<?php the_permalink(); ?> "> <img class="cover" src="<?php echo cached_image(wp_get_attachment_url(get_post_thumbnail_id()), 154, 224, 3); ?> "> <h2 class="title"><?php the_title(); ?> </h2> </a> </li> <?php } wp_reset_postdata(); } ?> </ul>
?> "><i class="material-icons">play_arrow</i></a></li> <li><a href="#" class="placard-icon placard-icon-record"><i class="material-icons">brightness_1</i></a></li> </ul> </span> <div class="progress-container"> <div class="progress" style="width: <?php echo $x; ?> %"></div> </div> </div> <?php $channels = array(1836, 1794, 1790, 1860, 1838, 1866, 1810, 1808, 1868); shuffle($channels); ?> <a class="channel-icon" href="<?php echo get_post_permalink($channels[0]); ?> "><img src="<?php echo cached_image(wp_get_attachment_url(get_post_thumbnail_id($channels[0])), 40, 40, 3); ?> "/></a> <?php } ?> </li> <?php } wp_reset_postdata();
?> /wp-content/themes/go3/images/covers/live/Phoenix.png" alt="Editor's pick"> </a> <div class="show-info"> <h2 class="show-title">Phoenix</h2> <span class="show-time">Ahora 14:50 - 16:15</span> <div class="progress-container"> <div class="progress" style="width: 15%"></div> </div> </div> <a class="channel-icon" href="<?php echo get_post_permalink(1790); ?> "><img src="<?php echo cached_image(wp_get_attachment_url(get_post_thumbnail_id(1790)), 40, 40, 3); ?> "/></a> </li> </ul> </div> </section> <section class="section-tv <?php if (is_page(1916)) { echo 'home-2'; } ?> "> <div class="section-container">
<?php $mainPostID = get_the_ID(); ?> <div class="content channel-page-content"> <div class="header"> <img class="channel-logo" src="<?php echo cached_image(wp_get_attachment_url(get_post_thumbnail_id()), 180, 100, 3); ?> " alt="<?php the_title(); ?> " /> <h1><?php the_title(); ?> </h1> </div> <div class="bg-box"></div> <input id="tabWatched" type="radio" name="tabs" checked> <label for="tabWatched">Resumen</label> <input id="tabWishlist" type="radio" name="tabs"> <label for="tabWishlist">Catálogo</label> <input id="tabFollowing" type="radio" name="tabs"> <label for="tabFollowing">Programación</label> <section id="contentWatched" class="content-section">