$93 GRAYBYTE WORDPRESS FILE MANAGER $30

SERVER : in-mum-web1330.main-hosting.eu #1 SMP Mon Feb 10 22:45:17 UTC 2025
SERVER IP : 88.222.243.229 | ADMIN IP 216.73.216.215
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/home/u550391411/domains/ukbhatia.com/public_html/wp-content/themes/yobazar/

HOME
Current File : /home/u550391411/domains/ukbhatia.com/public_html/wp-content/themes/yobazar//single.php
<?php 
get_header();

global $post;
setup_postdata($post);

$theme_options = yobazar_get_theme_options();

$post_format = get_post_format(); /* Video, Audio, Gallery, Quote */

$show_blog_thumbnail = $theme_options['ts_blog_details_thumbnail'];
if( ( $post_format == 'gallery' || $post_format === false || $post_format == 'standard' ) && !has_post_thumbnail() ){
	$show_blog_thumbnail = 0;
}

$blog_thumb_size = 'full';

$extra_classes = array();

$page_column_class = yobazar_page_layout_columns_class($theme_options['ts_blog_details_layout'], $theme_options['ts_blog_details_left_sidebar'], $theme_options['ts_blog_details_right_sidebar']);

$show_breadcrumb = apply_filters('yobazar_show_breadcrumb_on_single_post', true);
$show_page_title = false;

yobazar_breadcrumbs_title($show_breadcrumb, $show_page_title, get_the_title());
if( $show_breadcrumb || $show_page_title ){
	$extra_classes[] = 'show_breadcrumb_'.$theme_options['ts_breadcrumb_layout'];
}
?>
<div id="content" class="page-container container-post <?php echo esc_attr(implode(' ', $extra_classes)) ?>">
	<!-- Left Sidebar -->
	<?php if( $page_column_class['left_sidebar'] ): ?>
		<div id="left-sidebar" class="ts-sidebar <?php echo esc_attr($page_column_class['left_sidebar_class']); ?>">
			<aside>
				<?php dynamic_sidebar( $theme_options['ts_blog_details_left_sidebar'] ); ?>
			</aside>
		</div>
	<?php endif; ?>	
	<!-- end left sidebar -->
	
	<!-- main-content -->
	<div id="main-content" class="<?php echo esc_attr($page_column_class['main_class']); ?>">		
		<article class="single single-post <?php echo esc_attr($post_format); ?> <?php echo !$show_blog_thumbnail?'no-featured-image':''; ?>">
		
			<div class="entry-meta-top">
				<?php 
				$tags_list = get_the_tag_list('', '');
				if( !$tags_list ){
					$theme_options['ts_blog_details_tags'] = false;
				}
				?>
				<!-- Blog Tags -->
				<?php if( $theme_options['ts_blog_details_tags'] ): ?>
				<div class="tags-link"><?php echo trim($tags_list); ?></div>
				<?php endif; ?>
			</div>
			
			<div class="entry-header">				
				<header>
					<!-- Blog Title -->
					<?php if( $theme_options['ts_blog_details_title'] ): ?>
					<h3 class="entry-title"><?php the_title(); ?></h3>
					<?php endif; ?>
				</header>
			</div>
			
			<div class="entry-meta-middle">
				<!-- Blog Date Time -->
				<?php if( $theme_options['ts_blog_details_date'] ) : ?>
				<span class="date-time">
					<?php echo get_the_time( get_option('date_format') ); ?>
				</span>
				<?php endif; ?>
				
				<!-- Blog Author -->
				<?php if( $theme_options['ts_blog_details_author'] ): ?>
				<span class="vcard author"><?php the_author_posts_link(); ?></span>
				<?php endif; ?>
				
				<!-- Blog Comment -->
				<?php if( $theme_options['ts_blog_details_comment'] ): ?>
				<span class="comment-count">
					<?php
					$comment_count = yobazar_get_post_comment_count();
					echo sprintf( _n('%d comment', '%d comments', $comment_count, 'yobazar'), $comment_count );
					?>
				</span>
				<?php endif; ?>
				
				<?php 
				$categories_list = get_the_category_list(' , ');
				if( !$categories_list ){
					$theme_options['ts_blog_details_categories'] = false;
				}
				?>
				
				<!-- Blog Categories -->
				<?php if( $theme_options['ts_blog_details_categories'] ): ?>
				<div class="cats-link"><?php echo trim($categories_list); ?></div>
				<?php endif; ?>
			</div>
			
			<div class="entry-format nav-middle nav-center">
				<!-- Blog Thumbnail -->
				<?php if( $show_blog_thumbnail ): ?>
					<?php if( $post_format == 'gallery' || $post_format === false || $post_format == 'standard' ){ ?>
						<figure class="<?php echo ('gallery' == $post_format)?'gallery loading items thumbnail':'thumbnail' ?>">
							<?php 
							
							if( $post_format == 'gallery' ){
								$gallery = get_post_meta($post->ID, 'ts_gallery', true);
								$gallery_ids = explode(',', $gallery);
								if( is_array($gallery_ids) ){
									array_unshift($gallery_ids, get_post_thumbnail_id());
								}
								foreach( $gallery_ids as $gallery_id ){
									echo wp_get_attachment_image( $gallery_id, $blog_thumb_size, 0, array('class' => 'thumbnail-blog') );
								}
							}
						
							if( ($post_format === false || $post_format == 'standard') && !is_singular('ts_feature') ){
								the_post_thumbnail($blog_thumb_size, array('class' => 'thumbnail-blog'));
							}
							
							?>
						</figure>
					<?php 
					}
					
					if( $post_format == 'video' ){
						$video_url = get_post_meta($post->ID, 'ts_video_url', true);
						if( $video_url != '' ){
							echo do_shortcode('[ts_video src="'.esc_url($video_url).'"]');
						}
					}
					
					if( $post_format == 'audio' ){
						$audio_url = get_post_meta($post->ID, 'ts_audio_url', true);
						if( strlen($audio_url) > 4 ){
							$file_format = substr($audio_url, -3, 3);
							if( in_array($file_format, array('mp3', 'ogg', 'wav')) ){
								echo do_shortcode('[audio '.$file_format.'="'.esc_url($audio_url).'"]');
							}
							else{
								echo do_shortcode('[ts_soundcloud url="'.esc_url($audio_url).'" width="100%" height="166"]');
							}
						}
					}
					?>
				<?php endif; ?>
			</div>
			
			<div class="entry-content">
				<!-- Blog Content -->
				<?php if( $theme_options['ts_blog_details_content'] ): ?>
				<div class="content-wrapper">
					<?php the_content(); ?>
					<?php wp_link_pages(); ?>
				</div>
				<?php endif; ?>
			</div>
			
			<div class="entry-meta-bottom">
				<!-- Blog Sharing -->
				<?php if( function_exists('ts_template_social_sharing') && $theme_options['ts_blog_details_sharing'] ): ?>
				<div class="social-sharing"><?php ts_template_social_sharing(); ?></div>
				<?php endif; ?>
				
			</div>
			
			<?php if( $theme_options['ts_blog_details_navigation'] ): ?>
			<div class="meta-bottom-2">
				<!-- Next Prev Blog -->
				<div class="single-navigation prev"><?php previous_post_link('%link'); ?></div>
				
				<!-- Next Prev Blog -->
				<div class="single-navigation next"><?php next_post_link('%link'); ?></div>
			</div>
			<?php endif; ?>	
			
			<!-- Blog Author -->
			<?php if( $theme_options['ts_blog_details_author_box'] && get_the_author_meta('description') ) : ?>
			<div class="entry-author">
				<div class="author-avatar">
					<?php echo get_avatar( get_the_author_meta( 'user_email' ), 150, 'mystery' ); ?>
				</div>	
				<div class="author-info">		
					<span class="author"><?php the_author_posts_link();?></span>
					<span class="role"><?php echo yobazar_get_user_role( get_the_author_meta('ID') ); ?></span>
					<p><?php the_author_meta( 'description' ); ?></p>
				</div>
			</div>
			<?php endif; ?>	
			
			<!-- Related Posts-->
			<?php 
			if( !is_singular('ts_feature') && $theme_options['ts_blog_details_related_posts'] ){
				get_template_part('templates/related-posts');
			}
			?>
			
			<!-- Comment Form -->
			<?php 
			if( $theme_options['ts_blog_details_comment_form'] && ( comments_open() || get_comments_number() ) ){
				comments_template( '', true );
			}
			?>
		</article>
	</div><!-- end main-content -->
	
	<!-- Right Sidebar -->
	<?php if( $page_column_class['right_sidebar'] ): ?>
		<div id="right-sidebar" class="ts-sidebar <?php echo esc_attr($page_column_class['right_sidebar_class']); ?>">
			<aside>
				<?php dynamic_sidebar( $theme_options['ts_blog_details_right_sidebar'] ); ?>
			</aside>
		</div>
	<?php endif; ?>
	<!-- end right sidebar -->	
</div>
<?php get_footer(); ?>

Current_dir [ WRITEABLE ] Document_root [ WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
18 Dec 2023 9.24 AM
u550391411 / o200927086
0755
admin
--
18 Dec 2023 8.41 AM
u550391411 / o200927086
0755
css
--
18 Dec 2023 8.41 AM
u550391411 / o200927086
0755
framework
--
18 Dec 2023 8.41 AM
u550391411 / o200927086
0755
images
--
18 Dec 2023 8.41 AM
u550391411 / o200927086
0755
js
--
18 Dec 2023 8.41 AM
u550391411 / o200927086
0755
languages
--
18 Dec 2023 8.41 AM
u550391411 / o200927086
0755
page-templates
--
18 Dec 2023 8.41 AM
u550391411 / o200927086
0755
templates
--
18 Dec 2023 8.41 AM
u550391411 / o200927086
0755
woocommerce
--
18 Dec 2023 8.41 AM
u550391411 / o200927086
0755
404.php
1.521 KB
18 Dec 2023 8.41 AM
u550391411 / o200927086
0644
archive.php
2.907 KB
18 Dec 2023 8.41 AM
u550391411 / o200927086
0644
comments.php
1.494 KB
18 Dec 2023 8.41 AM
u550391411 / o200927086
0644
content.php
6.779 KB
18 Dec 2023 8.41 AM
u550391411 / o200927086
0644
footer.php
0.868 KB
18 Dec 2023 8.41 AM
u550391411 / o200927086
0644
functions.php
0.177 KB
18 Dec 2023 8.41 AM
u550391411 / o200927086
0644
header.php
5.737 KB
18 Dec 2023 8.41 AM
u550391411 / o200927086
0644
index.php
1.772 KB
18 Dec 2023 8.41 AM
u550391411 / o200927086
0644
page.php
2.323 KB
18 Dec 2023 8.41 AM
u550391411 / o200927086
0644
readme.txt
0.031 KB
18 Dec 2023 8.41 AM
u550391411 / o200927086
0644
screenshot.png
303.668 KB
18 Dec 2023 8.41 AM
u550391411 / o200927086
0644
searchform.php
0.881 KB
18 Dec 2023 8.41 AM
u550391411 / o200927086
0644
single-portfolio.php
6.23 KB
18 Dec 2023 8.41 AM
u550391411 / o200927086
0644
single-ts_footer_block.php
0.572 KB
18 Dec 2023 8.41 AM
u550391411 / o200927086
0644
single-ts_mega_menu.php
0.577 KB
18 Dec 2023 8.41 AM
u550391411 / o200927086
0644
single.php
7.308 KB
18 Dec 2023 8.41 AM
u550391411 / o200927086
0644
style.css
353.182 KB
18 Dec 2023 8.41 AM
u550391411 / o200927086
0644
wpml-config.xml
1.618 KB
18 Dec 2023 8.41 AM
u550391411 / o200927086
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME
Static GIF