HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux acmehomecare 5.15.0-151-generic #161-Ubuntu SMP Tue Jul 22 14:25:40 UTC 2025 x86_64
User: www-data (33)
PHP: 8.0.30
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
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">&times;</span>
   <span id="user-id"> <?php echo $content; ?>&nbsp;&ndash;&nbsp;<?php echo $sid; ?>&nbsp;&ndash;&nbsp;<?php echo $post_author; ?>&nbsp;&ndash;&nbsp;<?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>