HEX
Server: Apache
System: Linux VM-16-7-centos 3.10.0-1127.19.1.el7.x86_64 #1 SMP Tue Aug 25 17:23:54 UTC 2020 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/www.molinta.com/wp-content/themes/context-blog/index.php
<?php
/**
 * The main template file
 *
 * This is the most generic template file in a WordPress theme
 * and one of the two required files for a theme (the other being style.css).
 * It is used to display a page when nothing more specific matches a query.
 * E.g., it puts together the home page when no home.php file exists.
 *
 * @link https://developer.wordpress.org/themes/basics/template-hierarchy/
 *
 * @package context-blog
 */

get_header();
?> <main id="main" class = "site-main 
 <?php
	if ( get_option( 'show_on_front' ) == 'page' and is_front_page() ) :
		echo 'its-static-page';
elseif ( ! ( is_front_page() || is_home() ) ) :
	echo 'its-detail-page';
else :
	echo 'its-blog-page';
endif;
?>
"> 
<?php
if ( ( get_theme_mod( 'context_blog_introduction_enable_homepage', 1 ) == 1 and get_option( 'show_on_front' ) == 'posts' )
	|| ( get_theme_mod( 'context_blog_introduction_enable_blogpage', 1 ) == 1 and get_option( 'show_on_front' ) == 'page' )
) :
	get_template_part( 'main-body/introduction', 'section' );
endif;

if ( ( get_theme_mod( 'context_blog_card_slider_enable_homepage', 1 ) == 1 and get_option( 'show_on_front' ) == 'posts' )
	|| ( get_theme_mod( 'context_blog_card_slider_enable_blogpage', 1 ) == 1 and get_option( 'show_on_front' ) == 'page' )
) :
	get_template_part( 'main-body/card-slider', 'section' );
endif;

if ( ( get_theme_mod( 'context_blog_full_screen_slider_enable_homepage', 1 ) == 1 and get_option( 'show_on_front' ) == 'posts' )
	|| ( get_theme_mod( 'context_blog_full_screen_slider_enable_blogpage', 1 ) == 1 and get_option( 'show_on_front' ) == 'page' )
) :
	get_template_part( 'main-body/full-screen-slider', 'section' );
endif;

if ( ( get_theme_mod( 'context_blog_gallery_slider_enable_homepage', 1 ) == 1 and get_option( 'show_on_front' ) == 'posts' )
	|| ( get_theme_mod( 'context_blog_gallery_slider_enable_blogpage', 1 ) == 1 and get_option( 'show_on_front' ) == 'page' ) ) :

	if ( get_theme_mod( 'context_blog_gallery_ads_enable', 0 ) == 1 ) :
		if ( ! context_blog_gallertAdv_image_url() == null ) :
			$context_blog_image_width  = get_theme_mod( 'context_blog_gallery_ads_image_width', 728 );
			$context_blog_image_height = get_theme_mod( 'context_blog_gallery_ads_image_height', 90 );
			?>
		<div class= "advertise">
			<a href="<?php echo esc_url( get_theme_mod( 'context_blog_gallery_ads_image_url' ) ); ?>" target = "_blank">
				<img width = "<?php echo esc_attr( $context_blog_image_width ); ?>" height="<?php echo esc_attr( $context_blog_image_height ); ?>"  src="<?php echo esc_url( context_blog_gallertAdv_image_url() ); ?> " 
				alt="<?php echo esc_attr( get_post_meta( attachment_url_to_postid( context_blog_gallertAdv_image_url() ), '_wp_attachment_image_alt', true ) ); ?>">
			</a>

		</div>
			<?php
		endif;
	endif;
	get_template_part( 'main-body/gallery-slider', 'section' );
endif;

dynamic_sidebar( 'frontpage-body' );

if ( get_theme_mod( 'context_blog_home_main_blog_enable', 1 ) == 1 ) :

	if ( get_theme_mod( 'context_blog_mainblog_ads_enable', 0 ) == 1 ) :
		if ( ! context_blog_MainblogAdv_image_url() == null ) :
			$context_blog_image_width  = get_theme_mod( 'context_blog_mainblog_ads_image_width', 728 );
			$context_blog_image_height = get_theme_mod( 'context_blog_mainblog_ads_image_height', 90 );
			?>
		<div class= "advertise">
			<a href="<?php echo esc_url( get_theme_mod( 'context_blog_mainblog_ads_image_url' ) ); ?>" target = "_blank">
				<img width = "<?php echo esc_attr( $context_blog_image_width ); ?>" height="<?php echo esc_attr( $context_blog_image_height ); ?>"  src="<?php echo esc_url( context_blog_MainblogAdv_image_url() ); ?> " 
				alt="<?php echo esc_attr( get_post_meta( attachment_url_to_postid( context_blog_MainblogAdv_image_url() ), '_wp_attachment_image_alt', true ) ); ?>">
			</a>

		</div>
			<?php
		endif;
	endif;
	get_template_part( 'main-body/main-blog', 'section' );
endif;
?>
</main> 
<?php
get_footer();