File: /home/qirgxuo4hkuv/public_html/shovago.com/wp-content/themes/shovago/single-shovago_cats.php
<?php get_header();
while ( have_posts() ) : the_post();
get_template_part( 'shovago', 'contents/heros-cats' );
$Shovago__Cats_services = get_post_meta( $post->ID, 'Shovago__Cats_Service', false ); ?>
<div class="Shovago__Cats-Single_Tabs">
<div class="Shovago__Cats-Single_Tabs-Nav" data-aos="fade-up">
<div class="Shovago__Content--Size">
<div class="Shovago__Cats-Single_Choices">
<div class="Shovago__Cats-Single_Choice">
<ul id="Shovago__Cats-Single_Tabs-Nav">
<?php
$Name = '';
foreach ($Shovago__Cats_services as $Service) {
if ($Service == 'followers') { $Name = get_option( 'Shovago__Options_Trans__services_followers' ); }
if ($Service == 'likes') { $Name = get_option( 'Shovago__Options_Trans__services_likes' ); }
if ($Service == 'views') { $Name = get_option( 'Shovago__Options_Trans__services_views' ); }
if ($Service == 'comments') { $Name = get_option( 'Shovago__Options_Trans__services_comments' ); }
echo '<li><a href="#'.$Service.'"><i class="fas fa-check kon"></i> <i class="fas fa-check"></i>'.$Name.'</a></li>';
}
?>
</ul>
</div>
<div class="Shovago__Cats-Single_Choice">
<ul id="Shovago__Taxs-Single_Tabs-Nav">
<?php
$Shovago__NameAllFilters = get_option( 'Shovago__Options_Trans__allOptions' );
$Shovago__Taxs = get_categories('taxonomy=product_cat&type=product&hide_empty=0');
echo '<li><a id="Shovago__Taxs" class="active" data-filter="all"><i class="fas fa-check kon"></i> <i class="fas fa-check"></i>'.$Shovago__NameAllFilters.'</a></li>';
foreach ($Shovago__Taxs as $Tax) {
$thumbnail_id = get_term_meta( $Tax->term_id, 'thumbnail_id', true );
$image = wp_get_attachment_url( $thumbnail_id );
echo '<li><a id="Shovago__Taxs" data-filter="type-one-'.$Tax->term_id.'">
<i class="fas fa-check kon"></i> <i class="fas fa-check"></i><img src="'.$image.'" alt="Shovago" /> '.$Tax->name.'
</a></li>';
}
?>
</ul>
</div>
</div>
</div>
</div>
<div id="Shovago__Cats-Single_Tabs-Content">
<?php foreach ($Shovago__Cats_services as $Service) { ?>
<div id="<?php echo $Service; ?>" class="Shovago__Content--Size Shovago__Cats-Single_Tabs-Content">
<div class="row Shovago__Cats-Single_Products">
<?php Shovago_Products($post->post_name, $Service); ?>
</div>
</div>
<?php } ?>
</div>
</div>
</section>
<?php endwhile;
get_template_part( 'shovago', 'contents/steps' );
get_template_part( 'shovago', 'contents/shovago-bnrs/facebook' );
get_template_part( 'shovago', 'contents/reviews' );
get_template_part( 'shovago', 'contents/why' );
get_footer(); ?>