HEX
Server: Apache/2.4.29 (Ubuntu)
System: Linux bareserver 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64
User: root (0)
PHP: 7.2.24-0ubuntu0.18.04.17
Disabled: 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_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,
Upload Files
File: /var/www/html/site/newsite/wp-content/themes/storepress/template-parts/content/content-search.php
<?php
/**
 * Template part for displaying results in search pages.
 *
 * @link https://codex.wordpress.org/Template_Hierarchy
 *
 * @package StorePress
 */

?>
<article id="post-<?php the_ID(); ?>" <?php post_class('vf-post-items'); ?>>
	<?php if ( has_post_thumbnail() ) : ?>
		<div class="post-image">
			<a href="javascript:void(0);">
				<?php the_post_thumbnail(); ?>
			</a>
			<a href="<?php esc_url(the_permalink()); ?>" class="post-link"><i class="fa fa-link"></i></a>
		</div>
	<?php endif; ?>		
	<div class="post-content">
		<div class="post-date">
			<a href="<?php echo esc_url(get_month_link(get_post_time('Y'),get_post_time('m'))); ?>"><span><?php echo esc_html(get_the_date('j')); ?></span> <?php echo esc_html(get_the_date('M')); ?></a>
			<i class="fa fa-share"></i>
		</div>
		<div class="post-content-inner">
			<div class="post-author">
				<?php esc_html_e('Posted by','storepress'); ?> <a href="<?php echo esc_url(get_author_posts_url( get_the_author_meta( 'ID' ) ));?>" title="<?php esc_attr(the_author()); ?>" class="author meta-info"><?php esc_html(the_author()); ?></a>
			</div>
			<?php
				if ( is_single() ) :

					the_title('<h6 class="post-title">', '</h6>' );
					
				else:
					
					the_title( sprintf( '<h6 class="post-title"><a href="%s" rel="bookmark">', esc_url( get_permalink() ) ), '</a></h6>' );
					
				endif; 
				
				the_content( 
						sprintf( 
							__( 'Read More', 'storepress' ), 
							'<span class="screen-reader-text">  '.esc_html(get_the_title()).'</span>' 
						) 
					);
			?>
			<div class="post-categories">
				<a href="<?php esc_url(the_permalink()); ?>" rel="category tag"><?php the_category(' '); ?></a>
			</div>
		</div>
	</div>
</article>