<?php if (shortcode_exists('zilla_likes')) { ?> <div class="like-wrapper"><?php echo do_shortcode('[zilla_likes]'); ?> </div> <?php } else { ?> <div class="like-wrapper" style="border: none;"></div> <?php } ?> <?php pego_get_blog_socials($strip_title, $link); ?> <div class="read-more-wrap"><a target="_self" href="<?php echo $link; ?> "><div class="read-more-icon fa-share"></div></a></div> </div> <div class="clear"></div> </div> <?php } ?> </div> <?php }
} } the_tags($tagsCaption, ', ', '<br />'); echo '</div>'; } ?> <div class="clear"></div> <?php $shareArray = array(); if (function_exists('ot_get_option')) { if (ot_get_option('meganews_single_post_share') != '') { $shareArray = ot_get_option('meganews_single_post_share'); } } pego_get_blog_socials($permalink, $title, $shareArray); pego_get_author_data($post); ?> <?php } ?> <?php echo '<div class="related-posts">'; if (function_exists('ot_get_option')) { if (ot_get_option('meganews_related_posts_caption') != '') { echo do_shortcode('[vc_text_titles title="' . ot_get_option('meganews_related_posts_caption') . '" title_type="h2" page_title_type="v1" title_align="left"]'); } } echo do_shortcode('[vc_teaser_grid showtype="type1" grid_columns_count="3" summary_length="115" grid_categories="' . $allCatsString . '" grid_teasers_count="3" grid_thumb_size="600x400"]');