File "content-ajax-search.php"
Full Path: /home/vantageo/public_html/cache/cache/cache/cache/.wp-cli/wp-content/themes/vantageone/template-parts/content-ajax-search.php
File size: 1.33 KB
MIME-type: text/x-php
Charset: utf-8
<?php
/**
* Template part for displaying page content in page.php
*
* @link https://developer.wordpress.org/themes/basics/template-hierarchy/
*
* @package vantageone
*/
/* Template Name: Ajax Search Page */
get_header();
?>
<div class="mediathumb" style="background-image: url('<?php #the_post_thumbnail_url('2048px');?>');"> </div>
<article class="container" id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<header class="entry-header" data-aos="fade-up" data-aos-duration="3000">
<?php #the_title( '<h1 class="entry-title">', '</h1>' ); ?>
</header><!-- .entry-header -->
<?php #kmp_post_thumbnail(); ?>
<div class="filtersidebar col-12 col-sm-12 col-md-3 col-lg-3 float-left">
<?php
echo do_shortcode( '[wcas-search-form]' );
?>
</div>
<div class="entry-content col-12 col-sm-12 col-md-9 col-lg-9 float-left" data-aos="fade-up" data-aos-duration="2000">
<?php
if (have_posts()):
while (have_posts()) : the_post();
the_content();
endwhile;
else:
echo '<p>Sorry, no posts matched your criteria.</p>';
endif;
?>
<?php
// the_content();
// wp_link_pages( array(
// 'before' => '<div class="page-links">' . esc_html__( 'Pages:', 'kmp' ),
// 'after' => '</div>',
// ) );
?>
</div><!-- .entry-content -->
<?php
get_sidebar();
get_footer();
?>
</article><!-- #post-<?php the_ID(); ?> -->