</span> <?php the_tags('<span class="hidden-xs"><i class="fa fa-tags"></i>', ', ', ' </span>'); ?> <span class="hidden-md hidden-sm"><i class="fa fa-folder-o"></i><?php the_category(', '); ?> </span> <?php edit_post_link('Edit', '<span><i class="fa fa-pencil-square-o"></i>', '</span>'); ?> </p> <?php gabfire_media(array('name' => 'post-sidebar', 'imgtag' => 1, 'link' => 1, 'enable_video' => 1, 'video_id' => 'postfull', 'enable_thumb' => 1, 'resize_type' => 'c', 'media_width' => 700, 'media_height' => 380, 'thumb_align' => 'aligncenter', 'enable_default' => 0)); ?> <p><?php echo string_limit_words(get_the_excerpt(), 30); ?> …</p> </article> <?php if ($count % 3 == 0) { echo '<div class="clearfix"></div>'; } ?> <?php $count++;
<?php } } else { } ?> <div class="clearfix"></div> <a class="btn btn-green btn-space mt30">Contact Us</a> </div><!-- col-md-6 --> <div class="col-md-6"> <?php gabfire_media(array('name' => 'large', 'imgtag' => 1, 'link' => 0, 'enable_thumb' => 1, 'enable_video' => 0, 'resize_type' => 'c', 'media_width' => 600, 'media_height' => 400, 'thumb_align' => 'top', 'enable_default' => 0)); ?> </div> </div> </section><!-- container --> </div> <section id="services-points"> <div class="container"> <div class="row"> <div class="col-md-12 mb mt"> <div class="row"> <div class="col-md-6 col-sm-6 mt">
<article class="featuredpost"> <?php global $count, $rgb, $catname, $catid; if ($count == 1) { ?> <div class="subnews-first"> <?php gabfire_media(array('name' => 'th-block10', 'imgtag' => 1, 'link' => 1, 'enable_video' => 1, 'video_id' => 'featured', 'enable_thumb' => 1, 'resize_type' => 'c', 'media_width' => 263, 'media_height' => 137, 'thumb_align' => 'alignnone', 'enable_default' => 0)); ?> <a class="subnews-catname" style="background-color: rgb(<?php echo $rgb; ?> );background-color: rgba(<?php echo $rgb; ?> , 0.8);" href="<?php echo get_category_link($catid); ?> "> <?php echo $catname; ?> <i class="fa fa-angle-double-right"></i> </a> </div> <?php }
<?php $authorid = get_the_author_meta('ID'); $authorlink = get_author_posts_url($authorid); ?> <article <?php post_class('mag_latest archive-card'); ?> itemscope="itemscope" itemtype="http://schema.org/BlogPosting" itemprop="blogPost"> <div class="mag_latest_media"> <?php gabfire_media(array('name' => 'moderate', 'imgtag' => 1, 'link' => 1, 'enable_video' => 0, 'video_id' => 'postfull', 'enable_thumb' => 1, 'resize_type' => 'c', 'media_width' => 450, 'media_height' => 300, 'thumb_align' => 'postmedia', 'enable_default' => 0)); if ($conavatars == 1) { echo '<a href="' . $authorlink . '">' . get_avatar($authorid, 50) . '</a>'; } ?> </div> <div class="arc_maglatest_desc"> <?php gabfire_postmeta(true, true, false, false, false, false, false); ?> <h2 class="entry-title" itemprop="headline"> <a href="<?php the_permalink(); ?> " rel="bookmark" title="<?php
if ($count == 8 or $count == 9) { ?> <?php if ($count == 8) { $postclass = 'entry pull-left'; } else { $postclass = 'entry pull-right'; } ?> <article <?php post_class($postclass); ?> > <?php gabfire_media(array('name' => 'th-mag2', 'imgtag' => 1, 'link' => 1, 'enable_video' => 0, 'video_id' => 'postfull', 'enable_thumb' => 1, 'resize_type' => 'c', 'media_width' => 265, 'media_height' => 155, 'thumb_align' => 'aligncenter hidden-sm', 'enable_default' => 0)); ?> <h2 class="entry-title s_posttitle"> <a href="<?php the_permalink(); ?> " rel="bookmark" title="<?php printf(esc_attr__('Permalink to %s', 'gabfire'), the_title_attribute('echo=0')); ?> " ><?php the_title(); ?> </a> </h2> <p><?php
function gabfire_singlepostmedia() { global $wp_query; $postid = $wp_query->post->ID; $disable_feaimage = get_post_meta($postid, 'post_feaimage', true); $post_layout = get_post_meta($postid, 'gabfire_post_template', true); if ($post_layout == 'fullwidth' or is_page_template('tpl-fullwidth.php')) { $name = 'postthumbnail-big'; $media_width = 1140; $media_height = 550; } else { $name = 'postthumbnail'; $media_width = 750; $media_height = 500; } if (get_option('sharp_autoimage') == 1) { if ($disable_feaimage == 'true') { $enableimage = 0; } else { $enableimage = 1; } } else { $enableimage = 0; } gabfire_media(array('name' => $name, 'imgtag' => 1, 'link' => 0, 'enable_video' => 1, 'enable_thumb' => $enableimage, 'resize_type' => 'w', 'media_width' => $media_width, 'media_height' => $media_height, 'thumb_align' => 'aligncenter', 'enable_default' => 0)); }
<!-- featured image object --> <?php $image = wp_get_attachment_image_src(get_post_thumbnail_id($post->ID), 'single-post-thumbnail'); ?> <div class="col-md-3 col-sm-3 col-xs-6 mb<?php if ($count % 4 == 0) { echo " lastonrow"; } ?> "> <div class="portfolio_view"> <?php gabfire_media(array('name' => 'portfolio1', 'imgtag' => 1, 'link' => 0, 'enable_thumb' => 1, 'enable_video' => 0, 'resize_type' => 'c', 'media_width' => 263, 'media_height' => 176, 'thumb_align' => 'top', 'enable_default' => 0)); ?> <h3 class="hidden-lg small-caption"> <a href="<?php echo $image[0]; ?> " ><?php _e($client_name, 'gabfire'); ?> </a> </h3> <div class="portfolio_mask visible-lg"> <h2> <a data-toggle="modal" data-target="<?php
</span> <?php the_tags('<span class="hidden-xs"><i class="fa fa-tags"></i>', ', ', ' </span>'); ?> <span><i class="fa fa-folder-o"></i><?php the_category(', '); ?> </span> <?php edit_post_link('Edit', '<span><i class="fa fa-pencil-square-o"></i>', '</span>'); ?> </p> <?php gabfire_media(array('name' => 'z-post', 'imgtag' => 1, 'link' => 1, 'enable_video' => 1, 'catch_image' => of_get_option('of_catch_img', 0), 'video_id' => 'z-archive', 'enable_thumb' => 1, 'resize_type' => 'c', 'media_width' => 700, 'media_height' => 350, 'thumb_align' => 'aligncenter full-media nomargin pb20', 'enable_default' => 0)); the_excerpt(); ?> </article> <?php } } else { } ?> <?php gabfire_archivepagination(); ?> <div class="clearfix"></div>
<article class="item"> <?php gabfire_media(array('name' => 'postthumbnail', 'imgtag' => 1, 'link' => 1, 'enable_video' => 1, 'video_id' => 'featured', 'enable_thumb' => 1, 'resize_type' => 'c', 'media_width' => 750, 'media_height' => 410, 'thumb_align' => 'alignnone featured-img', 'enable_default' => 0)); ?> <div class="featured-caption"> <h2 class="entry-title"> <a href="<?php the_permalink(); ?> " rel="bookmark" title="<?php printf(esc_attr__('Permalink to %s', 'gabfire'), the_title_attribute('echo=0')); ?> " > <?php the_title(); ?> </a> <?php $location = get_post_meta($post->ID, 'location', true); if ($location != '') { echo "<span>{$location}</span>"; } ?> </h2> </div> </article>
$gab_query->query($args); while ($gab_query->have_posts()) { $gab_query->the_post(); ?> <!-- HOW IT WORKS - ITEM 1 --> <div data-animation="fadeIn" class="col-md-2 col-sm-6 fadeIn animated done-animation"> <div class="hiw-item <?php if ($count % 2 == 0) { echo 'even'; } ?> "> <?php gabfire_media(array('name' => 'homeblog', 'imgtag' => 1, 'link' => 1, 'enable_video' => 1, 'catch_image' => of_get_option('of_catch_img', 0), 'video_id' => 'block1', 'enable_thumb' => 1, 'resize_type' => 'c', 'media_width' => 400, 'media_height' => 300, 'thumb_align' => 'aligncenter hiw-item-picture img-responsive', 'enable_default' => 0)); ?> <!-- <img alt="" src="images/contents/hiw-item-1.jpg" class="hiw-item-picture"> --> <div class="hiw-item-text"> <span class="hiw-item-icon"><?php echo get_avatar(40); ?> </span> <h4 class="hiw-item-title"> <a href="<?php the_permalink(); ?> " rel="bookmark" title="<?php printf(esc_attr__('Permalink to %s', 'gabfire'), the_title_attribute('echo=0')); ?>
$enable_link = 1; $class = 'member' . $count; } $position = get_post_meta($post->ID, 'position', true); $facebook = get_post_meta($post->ID, 'facebook', true); $twitter = get_post_meta($post->ID, 'twitter', true); $linkedin = get_post_meta($post->ID, 'linkedin', true); ?> <figure itemprop="colleague" class="<?php echo $class; ?> "> <?php gabfire_media(array('name' => 'small-figure', 'imgtag' => 1, 'link' => $enable_link, 'enable_thumb' => 1, 'resize_type' => 'c', 'media_width' => 70, 'media_height' => 66, 'thumb_align' => 'alignleft img-thumbnail', 'enable_default' => 0)); ?> <?php if ($enable_link == 1) { ?> <h2 class="entry-title"><a itemprop="name" href="<?php the_permalink(); ?> "><?php the_title(); ?> </a></h2> <?php } else { ?> <h2 class="entry-title" itemprop="name"><?php
?> " rel="bookmark" title="<?php printf(esc_attr__('Permalink to %s', 'gabfire'), the_title_attribute('echo=0')); ?> " ><?php the_title(); ?> </a> </h2> <?php gabfire_postmeta(true, true, true, true, false, false, true); ?> <?php gabfire_media(array('name' => 'th-loopdefault', 'imgtag' => 1, 'link' => 0, 'enable_video' => 1, 'video_id' => 'postfull', 'enable_thumb' => 1, 'resize_type' => 'c', 'media_width' => 750, 'media_height' => 350, 'thumb_align' => 'aligncenter full-media nomargin', 'enable_default' => 0)); the_excerpt(); ?> </article> <?php } } else { ?> <article class="entry"> <h2 class="posttitle"><?php _e('Nothing Found', 'gabfire'); ?> </h1> <p class="single_postmeta">
$gab_query = new WP_Query(); $gab_query->query($args); while ($gab_query->have_posts()) { $gab_query->the_post(); $bouncer = $count % 3; ?> <div class="col-md-4 <?php if (!$bouncer) { echo 'clearleft'; } ?> item"> <article> <?php gabfire_media(array('name' => 'z-post', 'imgtag' => 1, 'link' => 1, 'enable_video' => 1, 'catch_image' => of_get_option('of_catch_img', 0), 'video_id' => 'block1', 'enable_thumb' => 1, 'resize_type' => 'c', 'media_width' => 350, 'media_height' => 175, 'thumb_align' => 'aligncenter featured-media img-responsive', 'enable_default' => 0)); ?> <!-- <div class="date"> <h4><bold>13</bold></h4> <h4>Sep</h4> </div> --> <h4 class="mt20 mb10"> <a href="<?php the_permalink(); ?> " rel="bookmark" title="<?php printf(esc_attr__('Permalink to %s', 'gabfire'), the_title_attribute('echo=0'));
</a> </div> <?php } else { ?> <div class="pull-right smaller-post"> <p class="smaller-post-cap"> <?php if (get_option('sharp_cap2a') != "") { echo get_option('sharp_cap2a'); } ?> </p> <?php gabfire_media(array('name' => 'th-block2', 'imgtag' => 1, 'link' => 1, 'enable_video' => 0, 'video_id' => 'featured', 'enable_thumb' => 1, 'resize_type' => 'c', 'media_width' => 150, 'media_height' => 103, 'thumb_align' => 'aligncenter', 'enable_default' => 0)); ?> <h2 class="entry-title"> <a href="<?php the_permalink(); ?> " rel="bookmark" title="<?php printf(esc_attr__('Permalink to %s', 'gabfire'), the_title_attribute('echo=0')); ?> " > <?php the_title(); ?> </a> </h2>
?> </span></p> <?php } ?> <?php } else { ?> <article <?php post_class($postclass); ?> > <?php gabfire_media(array('name' => 'th-loopgrid-2', 'imgtag' => 1, 'link' => 1, 'enable_video' => 1, 'video_id' => 'postfull', 'enable_thumb' => 1, 'resize_type' => 'c', 'media_width' => 351, 'media_height' => 217, 'thumb_align' => 'aligncenter', 'enable_default' => 0)); ?> <h2 class="entry-title"> <a href="<?php the_permalink(); ?> " rel="bookmark" title="<?php printf(esc_attr__('Permalink to %s', 'gabfire'), the_title_attribute('echo=0')); ?> " ><?php the_title(); ?> </a> </h2>
?> </h3> <?php global $post; $postid_sub = $post->ID; $count = 1; $args = array('post_type' => 'portfolio', 'post__not_in' => array($postid_sub), 'posts_per_page' => 6); $gab_query = new WP_Query(); $gab_query->query($args); while ($gab_query->have_posts()) { $gab_query->the_post(); ?> <div class="portfolio_view sidebar_portfolio_view"> <?php gabfire_media(array('name' => 'th-entry', 'imgtag' => 1, 'link' => 0, 'enable_video' => 0, 'video_id' => 'postfull', 'enable_thumb' => 1, 'resize_type' => 'c', 'media_width' => 253, 'media_height' => 157, 'thumb_align' => '', 'enable_default' => 0)); ?> <h3 class="hidden-lg small-caption"><a href="<?php the_permalink(); ?> " rel="bookmark" title="<?php printf(esc_attr__('Permalink to %s', 'gabfire'), the_title_attribute('echo=0')); ?> " ><?php the_title(); ?> </a></h3> <div class="portfolio_mask visible-lg"> <h2><a href="<?php the_permalink();