HEX
Server: Apache
System: Linux server1.panigaletech.com 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64
User: ubuntu (1000)
PHP: 7.4.30
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,pcntl_unshare,
Upload Files
File: /var/www/sectest.concertium.com/public_bak/wp-content/themes/dt-the7/search.php
<?php
/**
 * Search results page.
 *
 * @package The7
 * @since   1.0.0
 */

// File Security Check
if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

$config = presscore_config();
$config->set( 'template', 'search' );
$config->set( 'layout', 'masonry' );
$config->set( 'template.layout.type', 'masonry' );

get_header();
?>

    <!-- Content -->
    <div id="content" class="content" role="main">

		<?php
		if ( ! have_posts() ) {
			get_template_part( 'no-results', 'search' );
		} else {
			do_action( 'presscore_before_loop' );
			do_action( 'presscore_before_search_loop' );

			// backup config
			$config_backup = $config->get();

			// masonry container open
			echo '<div ' . presscore_masonry_container_class( array( 'wf-container' ) ) . presscore_masonry_container_data_atts() . '>';

			while ( have_posts() ) {
				the_post();
				presscore_archive_post_content();
				$config->reset( $config_backup );
			}

			// masonry container close
			echo '</div>';

			dt_paginator();

			do_action( 'presscore_after_loop' );
		}
		?>

    </div><!-- #content -->

<?php do_action( 'presscore_after_content' ) ?>

<?php get_footer() ?>