HEX
Server: nginx/1.25.5
System: Linux hcss-ecs-9064 4.18.0-348.7.1.el8_5.x86_64 #1 SMP Wed Dec 22 13:25:12 UTC 2021 x86_64
User: www (1000)
PHP: 7.4.33
Disabled: passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,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_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv
Upload Files
File: /www/wwwroot/885213.cn/wp-content/themes/futurio-storefront/single.php
<?php
get_header();

futurio_storefront_generate_header( true, true, true, true, true, true );
?>
<!-- start content container -->
<div class="row">      
    <article class="col-md-<?php futurio_storefront_main_content_width_columns(); ?> <?php futurio_storefront_sidebar_position( 'content' ) ?>">
		<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>                         
				<div <?php post_class(); ?>>
					<?php if ( get_theme_mod( 'single_title_position', 'full' ) == 'inside' ) { ?>
						<div class="single-head">
							<?php
							if ( futurio_storefront_get_meta( 'disable_meta' ) != 'disable' ) {
								futurio_storefront_widget_date_comments();
							}
							if ( futurio_storefront_get_meta( 'disable_title' ) != 'disable' ) {
								the_title( '<h1 class="single-title">', '</h1>' );
							}
							if ( futurio_storefront_get_meta( 'disable_meta' ) != 'disable' ) {
								futurio_storefront_author_meta();
							}
							?>
						</div>
						<?php
					}
					if ( get_theme_mod( 'single_featured_image', 'full' ) == 'inside' ) {
						if ( futurio_storefront_get_meta( 'disable_featured_image' ) != 'disable' ) {
							futurio_storefront_thumb_img( 'futurio-storefront-single', '', false );
						}
					}
					?>
					<div class="futurio-content single-content">
						<div class="single-entry-summary">
							<?php
							do_action( 'futurio_storefront_before_content' );
							if ( get_theme_mod( 'single_title_position', 'full' ) == 'full' && futurio_storefront_get_meta( 'disable_meta' ) != 'disable' ) {
								futurio_storefront_widget_date_comments();
							}
							the_content();
							do_action( 'futurio_storefront_after_content' );
							?> 
						</div><!-- .single-entry-summary -->
						<?php
						wp_link_pages();
						if ( futurio_storefront_get_meta( 'disable_cats_tags' ) != 'disable' ) {
							futurio_storefront_entry_footer();
						}
						if ( futurio_storefront_get_meta( 'disable_navigation' ) != 'disable' ) {
							futurio_storefront_prev_next_links();
						}

						$authordesc = get_the_author_meta( 'description' );
						if ( !empty( $authordesc ) ) {
							?>
							<div class="single-footer">
								<?php
								if ( futurio_storefront_get_meta( 'disable_author_box' ) != 'disable' ) {
									futurio_storefront_author();
								}
								if ( futurio_storefront_get_meta( 'disable_comments' ) != 'disable' ) {
									comments_template();
								}
								?> 
							</div>
						<?php } else { ?>
							<div class="single-footer">
								<?php
								if ( futurio_storefront_get_meta( 'disable_comments' ) != 'disable' ) {
									comments_template();
								}
								?> 
							</div>
						<?php } ?>
					</div>
				</div>        
				<?php
			endwhile;
		else :
			get_template_part( 'content', 'none' );
		endif;
		?>    
    </article> 
	<?php
	if ( futurio_storefront_get_meta( 'sidebar' ) != 'no_sidebar' ) {
		if ( is_active_sidebar( 'futurio-storefront-sidebar' ) ) {
			get_sidebar();
		}
	}
	?>
</div>
<!-- end content container -->

<?php get_footer(); ?>