403Webshell
Server IP : 66.29.132.124  /  Your IP : 18.218.56.92
Web Server : LiteSpeed
System : Linux business141.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
User : wavevlvu ( 1524)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/wavevlvu/diixadigital.com/wp-content/themes/meto/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/wavevlvu/diixadigital.com/wp-content/themes/meto/single.php
<?php
/**
 * Blog Post Main File.
 *
 * @package METO
 * @author  Theme Kalia
 * @version 1.0
 */

get_header();
$data    = \METO\Includes\Classes\Common::instance()->data('single')->get();
$layout = $data->get('layout');
$sidebar = $data->get('sidebar');
$class = (!$layout || $layout == 'full') ? 'col-xs-12 col-sm-12 col-md-12' : 'col-lg-8 col-md-12 col-sm-12';
$options = meto_WSH()->option();

if (class_exists('\Elementor\Plugin') && $data->get('tpl-type') == 'e') {
    while (have_posts()) {
        the_post();
        the_content();
    }
} else {
    ?>

<!--Page Title-->
<section class="page-title">
	<div class="pattern-layer-one" style="background-image: url(<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/background/pattern-14.png)"></div>
	<div class="pattern-layer" style="background-image: url(<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/background/shape-62.png)"></div>
	<div class="auto-container">
		<h2><?php if( $data->get( 'title' ) ) echo wp_kses( $data->get( 'title' ), true ); else( wp_title( '' ) ); ?></h2>
		<ul class="page-breadcrumb">
			<?php echo meto_the_breadcrumb(); ?>
		</ul>
    </div>
</section>
<!--End Page Title-->

<!--Sidebar Page Container-->
<div class="sidebar-page-container">
    <div class="auto-container">
        <div class="row clearfix">
            <?php
            if ($data->get('layout') == 'left') {
                do_action('meto_sidebar', $data);
            } ?>
            <div class="content-side <?php echo esc_attr($class); ?>">

                <?php while (have_posts()) : the_post(); ?>

                    <div <?php post_class('blog-post'); ?>>

                        <div class="blog-detail">

                            <div class="thm-unit-test">

        						<div class="inner-box">
        							<?php if (has_post_thumbnail()):?>
                                    <div class="image">
        								<?php the_post_thumbnail('meto_1170x400'); ?>
        							</div>
                                    <?php endif; ?>
                                    
        							<div class="lower-content">
        								<?php if(has_category()):?><div class="category"><?php the_category(' '); ?></div><?php endif; ?>
        								
        								<div class="text">
        									<?php the_content(); ?>
                                            <div class="clearfix"></div>
                                            <?php wp_link_pages(array('before'=>'<div class="paginate-links">'.esc_html__('Pages: ', 'meto'), 'after' => '</div>', 'link_before'=>'<span>', 'link_after'=>'</span>')); ?>
                                        </div>
                                        
        								<!-- Post Share Options-->
        								<?php if( $options->get( 'single_post_author' ) ||  $options->get( 'single_post_date' ) || $options->get( 'single_post_comments' ) ) :  ?>
            								<div class="post-share-options">
            									<div class="post-share-inner clearfix">
            										<!-- Author Box -->
            										<div class="author-box pull-left">
            											<div class="box-inner">
            												
            												<?php if( $options->get( 'single_post_author' ) ):?>
                                                            <div class="author-image">
            													<?php if ($avatar = get_avatar(get_the_author_meta('ID')) !== false): ?>
            														<?php echo get_avatar(get_the_author_meta('ID'), 40); ?>
                                                                <?php endif; ?>
            												</div>
            												<?php the_author(); ?>
                                                            <?php endif; ?>
                                                            
            												<?php if( $options->get( 'single_post_date' ) ):?>
                                                            <span><?php echo get_the_date(); ?>
                                                            &ensp; | &ensp;
                                                            <?php endif; ?> 
            												
            												<?php if( $options->get( 'single_post_comments' ) ):?>
            												<?php comments_number(wp_kses(__('0 Comments', 'meto'), true), wp_kses(__('1 Comment', 'meto'), true), wp_kses(__('% Comments', 'meto'), true)); ?></span>
            												<?php endif; ?> 
                                                        </div>
            										</div>
            										<?php if (function_exists('bunch_share_us')):?>
                                                    <?php echo wp_kses(bunch_share_us(get_the_id(), $post->post_name), true); ?>
                                                    <?php endif; ?>
            									</div>
            								</div>
        								<?php endif;  ?>
        							</div>
        						</div>
        						
        						<?php if( $options->get( 'single_post_author_box' ) ):?>
        						<!-- Author Box -->
        						<div class="authors-box">
        							<div class="author-inner">
        								<div class="thumb">
        									<?php if($avatar = get_avatar(get_the_author_meta('ID')) !== FALSE): ?>
        										<?php echo get_avatar(get_the_author_meta('ID'), 250); ?>
                                            <?php endif; ?>
                                        </div>
        								<div class="author-info">
            								<h4 class="name"><?php the_author(); ?></h4>
            								<div class="text"><?php the_author_meta( 'description', get_the_author_meta('ID') ); ?></div>
            								<?php if( $options->get( 'single_post_author_links' ) ):?>
            								<?php $icons = $options->get( 'single_post_author_social_share' );
                                            if ( ! empty( $icons ) ) :
                                            ?>
                                            <ul class="social-icon clearfix">
                                                <?php
            									foreach ( $icons as $h_icon ) :
            									$header_social_icons = json_decode( urldecode( meto_set( $h_icon, 'data' ) ) );
            									if ( meto_set( $header_social_icons, 'enable' ) == '' ) {
            										continue;
            									}
            									$icon_class = explode( '-', meto_set( $header_social_icons, 'icon' ) );
            									?>
            									<li><a href="<?php echo esc_url(meto_set( $header_social_icons, 'url' )); ?>" style="background-color:<?php echo esc_attr(meto_set( $header_social_icons, 'background' )); ?>; color: <?php echo esc_attr(meto_set( $header_social_icons, 'color' )); ?>"><i class="fa <?php echo esc_attr( meto_set( $header_social_icons, 'icon' ) ); ?>"></i></a></li>
            									<?php endforeach; ?>
                                            </ul>
                                            <?php endif; endif;?>
                                        </div>
        							</div>
        						</div>
        						<?php endif;?>
        						
                                <!--End Single blog Post-->
                                <?php comments_template(); ?>

                            </div>

                        </div>

                    </div>

                <?php endwhile; ?>

            </div>
            <?php
            if ($data->get('layout') == 'right') {
                do_action('meto_sidebar', $data);
            } ?>
        </div>
    </div>
</div>
<!--End blog area-->

<?php
}
get_footer();

Youez - 2016 - github.com/yon3zu
LinuXploit