File: /var/www/html/wp-content/themes/exertio/custom-offer-single.php
<?php $user_id=get_current_user_id();
global $exertio_theme_options;
global $post;
$sid = get_the_ID();
$post_author = $post->post_author;
$content="";
$fid = get_user_meta( $post_author, 'freelancer_id', true );
$alt_id = '';
?>
<div id="custom-offer-single-modal" class="single-modal">
<div class="custom-offer-single-modal-content">
<span class="custom-offer-single-modal-close">×</span>
<span id="user-id"> <?php echo $content; ?> – <?php echo $sid; ?> – <?php echo $post_author; ?> – <?php echo $fid; ?></span>
<div class="fr-m-contents">
<div class="fr-m-main-title">
<?php
$featured_badge = '';
$featured_service = get_post_meta( $sid, '_service_is_featured', true );
print_r( $featured_service);
if ( isset( $featured_service ) && $featured_service == 1 ) {
?>
<span><?php echo esc_html__( 'Featured', 'exertio_theme' ); ?></span>
<?php
}
?>
<p>
<?php
echo get_term_names( 'service-categories', '_service_category', $sid, 'reverse', ',' );
?>
</p>
<h1><?php echo get_the_title(); ?></h1>
</div>
<div class="fr-m-products">
<ul>
<li>
<p><i class="fa fa-star"></i><?php echo get_service_rating($sid); ?></p>
</li>
<li>
<p><?php echo exertio_queued_services($sid); ?></p>
</li>
<?php if(intval(get_post_meta($sid, 'exertio_service_total_views', true) !="")) {?>
<li><p><i class="far fa-eye"></i>
<?php
echo wp_sprintf(esc_html__('%s Views', 'exertio_theme'), number_format(get_post_meta($sid, 'exertio_service_total_views', true)));
?>
</p>
</li>
<?php } ?>
</ul>
</div>
</div>
<div class="main-box-services" id="description">
<div class="fr-product-des-box heading-contents vector-bg">
<h3><?php echo esc_html__('Description ','exertio_theme'); ?></h3>
<?php echo wp_kses($post->post_content, exertio_allowed_html_tags()); ?> </div>
</div>
</div>
</div>