<?php
get_header();
$sidebar_classes = tfuse_sidebar_class();
?>
<div class="middle cols2_fluid">
<div class="content_wrapper">
<div class="content">
<div id="big_container">
<?php
while (have_posts()) : the_post();
$tfuse_portf_cls = tfuse_type_media();
$tfuse_rates = tfuse_page_options(PREFIX . '_post_viewed', true);
?>
<div class="item <?php echo $tfuse_portf_cls; ?>" <?php tfuse_portf_width() ?> data-featured="<?php echo tfuse_page_options(PREFIX . '_post_featured_portfolio', true); ?>" data-rates="<?php echo ( !empty($tfuse_rates)) ? $tfuse_rates : 0; ?>" data-comments="<?php echo get_comments_number(); ?>">
<?php
if ( $tfuse_portf_cls != 'item-text' ) {
?>
<div class="media_block<?php echo ( $tfuse_portf_cls == 'item-slides') ? '' :' preloader'; ?>">
<?php
}
if ( tfuse_sidebars('left') || tfuse_sidebars('right') )
tfuse_media_content('cat',745,214,false,'','<div class="post-media">', '</div>');
elseif ( tfuse_sidebars('right') && tfuse_sidebars('left') )
tfuse_media_content('cat',486,214,false,'','<div class="post-media">', '</div>');
else
tfuse_media_content('cat',960,214,false,'','<div class="tf_post-media">', '</div>');
echo ( $tfuse_portf_cls == 'item-video') ? '<a href="'. get_permalink().'" class="zoom"> </a>' :'';
echo ( $tfuse_portf_cls == 'item-slides' || $tfuse_portf_cls == 'item-video') ? '</div>' :'';
echo ( $tfuse_portf_cls != 'item-image' ) ? '<div class="title">' : '';
?>
<?php
echo ( $tfuse_portf_cls != 'item-image' ) ? '</div>' :'';
echo ( $tfuse_portf_cls != 'item-image' ) ? '' : '<a href="'. get_permalink().'" class="zoom"> </a>';
echo ( $tfuse_portf_cls != 'item-image') ? '' : '</div>' ;
?>
<a href="<?php the_permalink(); ?>" class="name"><?php the_title(); ?></a>
<div class="descr">
<?php
$tfuse_content = get_option(PREFIX."_post_content_type");
if ($tfuse_content == 'content'){
global $more; $more = 0;
the_content('');
}
else the_excerpt();
?>
</div>
<span class="hide date"><?php echo get_the_time('Y-m-d H:i'); ?></span>
</div>
<?php
endwhile;
tfuse_shortcode_content('after');
?>
</div><!--/ .big_container -->
<?php if ( !tfuse_options(PREFIX.'_pagination_portfolio') ) tfuse_pagination(); ?>
</div><!--/ .content -->
</div><!--/ .content_wrapper -->
<div class="sidebar <?php echo $sidebar_classes['sidebar'] ?>">
<?php get_sidebar('left'); ?>
</div><!--/ .sidebar1 -->
<div class="clear"></div>
</div><!--/ .middle -->
<?php get_footer(); ?>
Add Reply
You must log in to post.