Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div class="entry clearfix post">
- <?php $width = 650;
- $height = 9999;
- $classtext = '';
- $titletext = get_the_title();
- $thumbnail = get_thumbnail($width,$height,$classtext,$titletext,$titletext,true);
- $thumb = $thumbnail["thumb"]; ?>
- <h1 class="title"><?php the_title(); ?></h1>
- <?php get_template_part('includes/postinfo'); ?>
- <?php if($thumb == '' || get_option('deepfocus_gallery_thumbnails') == 'false') echo('<div class="clear"></div>'); ?>
- <?php if (get_option('deepfocus_blog_thumbnails') == 'on' && $isBlogPage) { ?>
- <?php if($thumb <> '') { ?>
- <div class="clear"></div>
- <div class="gallery-thumb">
- <a href="<?php echo $thumbnail['fullpath']; ?>" rel="media" class="fancybox" title="<?php the_title(); ?>">
- <?php if ($thumbnail["use_timthumb"]) { ?>
- <img src="<?php echo(print_thumbnail($thumb, $thumbnail["use_timthumb"], $titletext, $width, $height, $classtext, false, false, false)); ?>" alt="<?php the_title(); ?>" />
- <?php } else { ?>
- <?php print_thumbnail($thumb, $thumbnail["use_timthumb"], $titletext, $width, $height, $classtext); ?>
- <?php } ?>
- <span class="overlay"></span>
- </a>
- <div class="gallery-thumb-bottom">
- <div class="left-shadow"></div>
- <div class="bg"></div>
- <div class="right-shadow"></div>
- </div> <!-- end .gallery-thumb-botton -->
- </div> <!-- end .gallery-thumb -->
- <div class="clear"></div>
- <?php } ?>
- <?php } ?>
- <?php if (get_option('deepfocus_gallery_thumbnails') == 'on' && !$isBlogPage) { ?>
- <div class="clear"></div>
- <div class="gallery-thumb">
- <a href="<?php echo $thumbnail['fullpath']; ?>" rel="media" class="fancybox" title="<?php the_title(); ?>">
- <?php if ($thumbnail["use_timthumb"]) { ?>
- <img src="<?php echo(print_thumbnail($thumb, $thumbnail["use_timthumb"], $titletext, $width, $height, $classtext, false, false, false)); ?>" alt="<?php the_title(); ?>" />
- <?php } else { ?>
- <?php print_thumbnail($thumb, $thumbnail["use_timthumb"], $titletext, $width, $height, $classtext); ?>
- <?php } ?>
- <span class="overlay"></span>
- </a>
- <div class="gallery-thumb-bottom">
- <div class="left-shadow"></div>
- <div class="bg"></div>
- <div class="right-shadow"></div>
- </div> <!-- end .gallery-thumb-botton -->
- </div> <!-- end .gallery-thumb -->
- <div class="clear"></div>
- <?php } ?>
- <?php the_content(); ?>
- <?php wp_link_pages(array('before' => '<p><strong>'.esc_html__('Pages','DeepFocus').':</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
- <?php edit_post_link(esc_html__('Edit this page','DeepFocus')); ?>
- </div> <!-- end .entry -->
Add Comment
Please, Sign In to add comment