<?php if (get_the_title()) { ?> <h1><?php the_title(); ?> </h1> <?php } ?> <?php if (of_get_option('misc-show_next_prev_post')) { dt_get_next_prev_post(); } ?> <?php if (!post_password_required()) { ?> <div class="hr hr-wide gap-small"></div> <?php get_template_part('single', 'dt_blog'); } else { ?> <div class="hr hr-wide gap-small"></div> <?php
the_post(); ?> <h1><?php the_title(); ?> </h1> <?php if (!post_password_required()) { ?> <?php // prev/next post arrows (setting located in theme options - misc) if (of_get_option('misc-show_next_prev_portfolio')) { dt_get_next_prev_post(array('title' => __('Project %CURRENT% of %MAX%', LANGUAGE_ZONE))); } ?> <div class="hr hr-wide gap-big"></div> <?php global $post; $dt_tmp_query = new WP_Query(); $post_opts = get_post_meta(get_the_ID(), '_dt_portfolio_options', true); ?> <?php if (!isset($post_opts['hide_media']) || !$post_opts['hide_media']) { ?>