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/template-parts/content-single.php
<?php
/**
 * Template part for displaying posts
 *
 * @link https://developer.wordpress.org/themes/basics/template-hierarchy/
 *
 * @package context-blog
 */

?>    
	<div class="detail-holder">
		<?php if ( has_post_thumbnail() ) : ?>
			<div class="img-holder">
			<?php the_post_thumbnail(); ?>
			</div>
			<?php
		endif;
		$context_blog_meta    = get_theme_mod( 'context_blog_singlepage_' . __( 'meta', 'context-blog' ), 1 );
		$context_blog_date    = get_theme_mod( 'context_blog_singlepage_' . __( 'date', 'context-blog' ), 1 );
		$context_blog_comment = get_theme_mod( 'context_blog_singlepage_' . __( 'comment', 'context-blog' ), 1 );
		?>
		<div class="category-tag">
			<?php
			esc_html_e( 'In', 'context-blog' );
			the_category();
			?>
		</div>
		<?php
		context_blog_content_core_meta( $context_blog_meta, $context_blog_date, $context_blog_comment );
		?>
		<div class = 'content'> 
		<?php
		the_content();
		?>
		 </div> 
		<?php
		wp_link_pages(
			array(
				'before'      => '<div class="text-center">' . __( 'Pages :', 'context-blog' ),
				'after'       => '</div>',
				'link_before' => '',
				'link_after'  => '',
			)
		);
		?>
		 <div class="clearfix"> </div>
	</div>
	<?php if ( get_edit_post_link() ) : ?>
		<?php
		edit_post_link(
			sprintf(
				wp_kses(
				/* translators: %s: Name of current post. Only visible to screen readers */
					__( 'Edit <span class="screen-reader-text">%s</span>', 'context-blog' ),
					array(
						'span' => array(
							'class' => array(),
						),
					)
				),
				wp_kses_post( get_the_title() )
			),
			'<div><span class="edit-link">',
			'</span></div>'
		);
		?>
	<?php endif; ?>
	<div class="category-tag d-block mt-2 mb-2">
		<?php
		the_tags( '<ul class="m-auto"><li>', '</li><li>', '</li></ul>' );
		?>
	</div>
	<div class="comments-form"> 
		<?php
		// 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;
		?>
		</div>
	<div class="detail-author-block">
		<h2 class="other-title"><?php esc_html_e( 'Author', 'context-blog' ); ?></h2>
		<div class="media">
			<div class="img-holder">
				 <?php echo get_avatar( get_the_author_meta( 'ID' ), 100 ); ?>
			</div>
			<div class="media-body">
				<div class="title-share">
					<p class="mt-0"><?php the_author_meta( 'user_email' ); ?></p>
				</div>
				 <?php the_author_meta( 'description' ); ?>
			</div>
		</div>
	</div>
	
	<?php get_template_part( 'inc/related-post' ); ?>