1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
<?php
get_header(); ?>
<div class="page-wrapper page-left-sidebar page-featured-item"> <div class="row">
<div id="content" class="large-3 columns left" role="main"> <header class="entry-header"> <div class="featured_item_cats"> <?php echo get_the_term_list( get_the_ID(), 'featured_item_category', '', ', ', '' ); ?> </div> <h1 class="entry-title"><?php the_title(); ?></h1> <div class="tx-div small"></div> </header><!-- .entry-header -->
<div class="entry-summary"> <?php the_excerpt();?> <?php echo do_shortcode('[share]')?> <?php if(get_the_term_list( get_the_ID(), 'featured_item_tag')) { ?> <div class="item-tags"> <span>Tags:</span><?php echo strip_tags (get_the_term_list( get_the_ID(), 'featured_item_tag', '', ' / ', '' )); ?> </div> <?php } ?>
</div><!-- .entry-summary -->
</div><!-- #content -->
<div class="large-9 right columns" > <div class="page-inner"> <?php while ( have_posts() ) : the_post(); ?> <?php if(get_the_content()) {the_content();} else { the_post_thumbnail('large'); }; ?> <?php endwhile; wp_reset_query(); // end of the loop. ?> </div><!-- .page-inner --> </div><!-- .#content large-9 left -->
</div><!-- .row --> </div><!-- -page-right-sidebar .container -->
<div class="row"><div class="large-12 columns"><hr></div></div>
<?php // RELATED SLIDER global $flatsome_opt; $cat = get_the_terms( get_the_ID(), 'featured_item_category', '', ', ', '' );
if(!isset($flatsome_opt['featured_items_related']) || $flatsome_opt['featured_items_related'] == 'default') { echo do_shortcode('[featured_items_slider style="1" height="'.$flatsome_opt['featured_items_related_height'].'" cat="'.current($cat)->slug.'"]'); } else if($flatsome_opt['featured_items_related'] == 'text_overlay') { echo do_shortcode('[featured_items_slider style="2" height="'.$flatsome_opt['featured_items_related_height'].'" cat="'.current($cat)->slug.'"]'); } ?>
<?php get_footer(); ?>
|