<div class="tally_homeBlock_testimonial thbt_skin1 thbt_<?php echo $tally_home_column_block['id']; ?> "> <div class="thbt_inner"> <div class="thbt_info"> <?php if (tally_option($block_id . 'image') != '') { ?> <img src="<?php echo tally_image(tally_option($block_id . 'image'), 120, 120, true); ?> " alt="<?php echo tally_option($block_id . 'name'); ?> " /> <?php } ?> <?php if (tally_option($block_id . 'name') != '') { ?> <p> <?php if (tally_option($block_id . 'link') != '') { ?> <a href="<?php echo tally_option($block_id . 'link'); ?> "><?php
?> <?php if ($the_query->have_posts()) { ?> <div class="grid js-masonry" data-masonry-options='{ "itemSelector": ".thbbg_item", "columWidth": 200 }'> <?php while ($the_query->have_posts()) { $the_query->the_post(); ?> <div class="thbbg_item" style="width:"> <div class="thbbg_item_inner"> <?php $get_image = wp_get_attachment_image_src(get_post_thumbnail_id(get_the_ID()), 'full'); ?> <img src="<?php echo tally_image($get_image[0], 335, 204, true); ?> " alt="<?php echo tally_option($block_id . 'name'); ?> " /> <div class="thbbg_item_content"> <h4><a href="<?php the_permalink(); ?> "><?php the_title(); ?> </a></h4> <p><?php echo tally_max_charlength(120);
?> " class="thbs_more"><?php echo tally_option($block_id . '5_more'); ?> </a> <?php } ?> </div> </div> </div> <?php } ?> <img src="<?php echo tally_image(tally_option($block_id . '5_image'), 1400, 520, true); ?> " alt="<?php echo tally_option($block_id . '5_title'); ?> " /> </li> <?php } ?> </ul> </div> <script type="text/javascript"> jQuery(window).load(function(){ jQuery('.thbs_flexslider').flexslider({ animation: "slide",