/** * @package Render * @author Themezilla (http://www.themezilla.com) * * single.php * Displayed for single posts. */ ?> <?php get_header(); ?> <?php $is_longform = render_is_longform(); ?> <div id="primary" class="content-area <?php if ($is_longform) { ?> longform<?php } ?> "> <main id="main" class="site-main" role="main"> <?php while (have_posts()) { the_post(); ?>
<?php get_template_part('search', 'navigation'); ?> <i class="icon-tz-wp-icons-search search-toggle"></i> </div> <?php wp_nav_menu(array('theme_location' => 'top-bar', 'depth' => 3, 'container_class' => 'main-nav-links', 'fallback_cb' => '')); ?> </nav><!-- #site-navigation --> </header> <?php } ?> <?php if ($single && !render_is_longform()) { if ($thumbnail || $has_tz_gallery || $gallery && $is_gallery_format || $is_video_format) { ?> <div class="single-featured-image"> <?php if (!$has_tz_gallery) { the_post_thumbnail('single-post'); } ?> <?php if ($is_gallery_format) { echo render_post_gallery($post->ID, 'single-post'); echo $gallery; } elseif ($is_video_format) { echo render_print_video_html($post->ID); }