Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <article id="post-<?php the_ID(); ?>" <?php post_class("post clearfix $class"); ?>>
- <?php if ( themify_get('external_link') != ''): ?>
- <?php $link = themify_get("external_link"); ?>
- <?php elseif ( themify_get('lightbox_link') != ''): ?>
- <?php $link = themify_get("lightbox_link")."' class='lightbox' rel='prettyPhoto[post]"; ?>
- <?php else: ?>
- <?php $link = get_permalink(); ?>
- <?php endif; ?>
- <?php if(is_single() && $hide_image != "yes"): ?>
- <?php if($unlink_image == "yes"): ?>
- <?php themify_image("field_name=post_image, image, wp_thumb&setting=image_post_single&w=".$width."&h=".$height."&before=<figure class='post-image " . themify_get('setting-image_post_single_align') . "'>&after=</figure>"); ?>
- <?php else: ?>
- <?php
- /* jQuery is loaded on the page but we also need to get the WunderSlider Javascript: */
- echo "<script type='text/javascript' src='http://ax3battery.com/devsite/wp-content/plugins/wunderslider/js/wunderslider-min.js'></script>";
- ?>
- <?php echo do_shortcode('[gallery container_width="91%" container_height="360px" display="proportional" mode="proportional" clickable="false"]'); ?>
- <?php endif; ?>
- <?php elseif($post_query_category != "" && $hide_image != "yes"): ?>
- <?php if($unlink_image == "yes"): ?>
- <?php themify_image("field_name=post_image, image, wp_thumb&w=".$width."&h=".$height."&before=<figure class='post-image'>&after=</figure>"); ?>
- <?php else: ?>
- <?php themify_image("field_name=post_image, image, wp_thumb&w=".$width."&h=".$height."&before=<figure class='post-image'><a href='".urlencode($link)."'>&after=</a></figure>"); ?>
- <?php endif; ?>
- <?php else: ?>
- <?php if($hide_image != "yes"): ?>
- <?php if($unlink_image == "yes"): ?>
- <?php themify_image("field_name=post_image, image, wp_thumb&setting=image_post&w=".$width."&h=".$height."&before=<figure class='post-image " . themify_get('setting-image_post_align') . "'>&after=</figure>"); ?>
- <?php else: ?>
- <?php themify_image("field_name=post_image, image, wp_thumb&setting=image_post&w=".$width."&h=".$height."&before=<figure class='post-image " . themify_get('setting-image_post_align') . "'><a href='".urlencode($link)."'>&after=</a></figure>"); ?>
- <?php endif; ?>
- <?php endif; ?>
- <?php endif; //post image ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement