| Server IP : 54.155.247.149 / Your IP : 172.31.12.34 Web Server : Apache/2.4.68 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/3.0.2 System : Linux ip-172-31-10-208.eu-west-1.compute.internal 6.8.0-1044-aws #46~22.04.1-Ubuntu SMP Tue Dec 2 12:52:18 UTC 2025 x86_64 User : kazang ( 1006) PHP Version : 8.2.31 Disable Function : 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,exec,system,passthru,shell_exec,proc_open,popen MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/kazang/web/kazang.com/public_html/wp-content/themes/understrap/ |
Upload File : |
<?php /** * The template for displaying search results pages * * @package Understrap */ // Exit if accessed directly. defined( 'ABSPATH' ) || exit; get_header(); $container = get_theme_mod( 'understrap_container_type' ); ?> <div class="wrapper" id="search-wrapper"> <div class="<?php echo esc_attr( $container ); ?>" id="content" tabindex="-1"> <div class="row"> <?php // Do the left sidebar check and open div#primary. get_template_part( 'global-templates/left-sidebar-check' ); ?> <main class="site-main" id="main"> <?php if ( have_posts() ) : ?> <header class="page-header"> <h1 class="page-title"> <?php printf( /* translators: %s: query term */ esc_html__( 'Search Results for: %s', 'understrap' ), '<span>' . get_search_query() . '</span>' ); ?> </h1> </header><!-- .page-header --> <?php /* Start the Loop */ ?> <?php while ( have_posts() ) : the_post(); /* * Run the loop for the search to output the results. * If you want to overload this in a child theme then include a file * called content-search.php and that will be used instead. */ get_template_part( 'loop-templates/content', 'search' ); endwhile; ?> <?php else : ?> <?php get_template_part( 'loop-templates/content', 'none' ); ?> <?php endif; ?> </main> <?php // Display the pagination component. understrap_pagination(); // Do the right sidebar check and close div#primary. get_template_part( 'global-templates/right-sidebar-check' ); ?> </div><!-- .row --> </div><!-- #content --> </div><!-- #search-wrapper --> <?php get_footer();