| Server IP : 159.223.1.207 / Your IP : 216.73.216.243 Web Server : Apache/2.4.58 (Ubuntu) System : Linux Lamp-OutStaff 6.8.0-117-generic #117-Ubuntu SMP PREEMPT_DYNAMIC Tue May 5 19:26:24 UTC 2026 x86_64 User : www-data ( 33) PHP Version : 8.4.15 Disable Function : NONE MySQL : OFF | cURL : OFF | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/html/wp-content/themes/codeassembly/ |
Upload File : |
<?php get_header(); ?>
<main class="content">
<div class="container">
<?php
global $post_args;
$post_args = array(
's' => $_GET['s'],
'post_type' => 'article',
'post_status' => 'publish',
'order' => 'ASC',
'paged' => get_query_var('paged') ?: 1,
);
$new = new WP_Query($post_args);
?>
<?php if ( have_posts() ) : ?>
<div class="title">
<h1 class="vacancy-top-title"><?php printf( __( 'Search Results for: %s', 'base' ), '<span>' . get_search_query() . '</span>'); ?></h1>
</div>
<div class="row margin-bottom-50">
<div class="col-lg-12">
<?php get_search_form(); ?>
</div>
</div>
<div class="blog-list">
<div class="row">
<?php while ( $new->have_posts()) :
$new->the_post(); ?>
<?php get_template_part( 'blocks/content', get_post_type() ); ?>
<?php endwhile; ?>
</div>
</div>
<?php get_template_part( 'blocks/pager' ); ?>
<?php else : ?>
<?php get_template_part( 'blocks/not_found' ); ?>
<?php endif; ?>
</div>
</main>
<?php get_footer(); ?>