HEX
Server: LiteSpeed
System: Linux sinope.sitehostingserver.com 5.14.0-611.49.2.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Apr 30 09:05:08 EDT 2026 x86_64
User: aprilnet (1155)
PHP: 8.2.33
Disabled: popen,imap_mail,exec,passthru,system,shell_exec,proc_open,pcntl_exec,eval,allow_url_fopen,allow_url_include,mail,proc_get_status,get_cfg_var,disk_free_space,disk_total_space,diskfreespace,getmygid,getmyinode,getmypid,geymyuid,proc_nice,proc_terminate,proc_close,apache_child_terminate,chown,lchgrp,lchown,link,readlink,highlight_file,show_source,php_strip_whitespace,get_meta_tags,dl,leak,pfsockopen,event_new,pcntl_signal,pcntl_alarm,register_tick_function,apache_setenv,define_syslog_variables,escapeshellarg,escapeshellcmd,ini_alter,ini_restore,inject_code,openlog,syslog,xmlrpc_entity_decode,phpAds_remoteInfo,phpAds_XmlRpc,phpAds_xmlrpcDecode,phpAds_xmlrpcEncode,chgrp,php_eval,safe_dir,root,ftok,egy_perl,symlink,wscript
Upload Files
File: /home/aprilnet/public_html/hadoukencabs.com/wp-content/themes/trendymag/single-wrapper-six.php
<?php 
if ( ! defined( 'ABSPATH' ) ) :
    exit; // Exit if accessed directly
endif;

get_header();

    $sidebar = trendymag_option('single-news-sidebar', false, 'right-sidebar');
    $grid_column = 'col-md-10 col-md-offset-1';

    if ($sidebar == 'right-sidebar') :
        $grid_column = (is_active_sidebar('trendymag-blog-sidebar')) ? 'col-md-8 col-sm-12' : $grid_column;
    elseif ($sidebar == 'left-sidebar') :
        $grid_column = (is_active_sidebar('trendymag-blog-sidebar')) ? 'col-md-8 col-md-push-4 col-sm-12' : $grid_column;
    endif;
?>
<div class="news-wrapper content-wrapper single-news single-layout-six">
    <header class="featured-wrapper">
        
        <?php
            if (function_exists('rwmb_meta')) :
                $tt_slides = rwmb_meta('trendymag_post_gallery','type=image_advanced');
            endif; 

        if ( has_post_thumbnail() || $tt_slides) : ?>
            <div class="post-thumbnail">
                <?php do_action( 'trendymag_before_post_thumbnail'); ?>
                    
                    <?php if (function_exists('rwmb_meta') && $tt_slides) :
                        if ($tt_slides && count($tt_slides) > 0) : ?>
                            <div id="news-gallery-<?php echo get_the_ID();?>" class="news-gallery carousel slide">
                                <div class="carousel-inner">
                                    <?php 
                                    $carousel_count = 1; 
                                    foreach( $tt_slides as $slide ) : ?>
                                        <div class="item <?php if($carousel_count == 1) echo 'active'; ?>">
                                            <?php $images_src = wp_get_attachment_image_src( $slide['ID'], 'trendymag-news-cover-thumbnail'); ?>
                                            <img class="img-responsive" src="<?php echo esc_url($images_src[0]); ?>" alt="<?php trendymag_alt_text();?>">
                                        </div>
                                    <?php
                                    $carousel_count++;
                                    endforeach; ?>
                                </div> <!-- .carousel-inner -->
                                
                                <!-- Controls -->
                                <a class="left carousel-control" href="#news-gallery-<?php echo get_the_ID();?>" data-slide="prev"><i class="fa fa-angle-left"></i></a>
                                <a class="right carousel-control" href="#news-gallery-<?php echo get_the_ID();?>" data-slide="next"><i class="fa fa-angle-right"></i></a>
                            </div> <!-- .blog-gallery-carousel -->
                        <?php
                        endif;
                    else :
                        the_post_thumbnail('trendymag-news-cover-thumbnail', array('alt' => get_the_title(), 'class' => 'img-responsive')); 
                    endif; ?>
                <?php do_action( 'trendymag_after_post_thumbnail'); ?>
            </div><!-- .post-thumbnail -->
        <?php endif; ?>

        <div class="container fullwidth-title-wrapper">
            <div class="fullwidth-title">
                <div class="entry-meta">
                    <ul class="list-inline">
                        <li><span class="posted-in"><?php trendymag_post_cat(); ?></span></li>
                        <li>
                            <?php if (function_exists('zilla_likes')) : ?>
                                <span class="right"><?php zilla_likes(); ?></span>
                            <?php endif; ?>
                        </li>
                        <li>
                            <span class="post-comments-number">
                                <i class="fa fa-comment-o"></i><?php
                                comments_popup_link(
                                    esc_html__('0', 'trendymag'),
                                    esc_html__('1', 'trendymag'),
                                    esc_html__('%', 'trendymag'), '',
                                    esc_html__('Closed', 'trendymag')
                                ); ?>
                            </span>
                        </li>
                        <li><span><i class="fa fa-newspaper-o"></i><?php echo trendymag_estimated_reading_time(); ?></span></li>
                    </ul>
                </div>

                <div class="entry-header">
                    <h2 class="entry-title"><?php the_title(); ?></h2>
                </div><!-- /.entry-header -->
            </div><!-- /.fullwidth-title-wrapper -->
        </div><!-- /.container -->
    </header><!-- /.featured-wrapper -->

    <div class="container">
        <div class="row">
            <div class="sidebar-sticky <?php echo esc_attr($grid_column); ?>">
                <div id="main" class="posts-content" role="main">
                    <?php while ( have_posts() ) : the_post(); 
                        get_template_part( 'single-loop', 'six'); 

                        // Author description will appear below in every single blog post.
                        if (get_the_author_meta( 'description' )) :
                            get_template_part( 'author-bio' ); 
                        endif;

                        get_template_part( 'template-parts/subscription', 'form');
                        
                        trendymag_post_navigation(); 

                        get_template_part( 'template-parts/related', 'news');

                        // If comments are open or we have at least one comment, load up the comment template.
                        if ( comments_open() || get_comments_number() ) :
                            comments_template();
                        endif;
                    endwhile; // End of the loop. ?>
                </div> <!-- .posts-content -->
            </div> <!-- col-## -->
            
            <!-- Sidebar -->   
            <?php get_sidebar('single'); ?>
        </div> <!-- .row -->
    </div> <!-- .container -->
</div> <!-- .content-wrapper -->
<?php get_footer(); ?>