PK œqhYî¶J‚ßFßF)nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/ $#$#$#

Dir : /home/trave494/carsofchappelle.online/wp-content/themes/classiadspro/
Server: Linux ngx353.inmotionhosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64
IP: 209.182.202.254
Choose File :

Url:
Dir : /home/trave494/carsofchappelle.online/wp-content/themes/classiadspro/search.php

<?php 
/**
 * The template for displaying Search Results pages
 *
 * @package WordPress
 * @subpackage ClassiadsPro
 * @since ClassiadsPro 1.0
 */

$layout = $pacz_settings['search-layout'];


get_header(); ?>
<div id="theme-page">
	<div class="pacz-main-wrapper-holder">
	<div class="theme-page-wrapper pacz-main-wrapper <?php echo esc_attr($layout); ?>-layout pacz-grid vc_row-fluid">
		<div class="inner-page-wrapper">
		<div class="theme-content" itemprop="mainContentOfPage">
		<section class="pacz-search-loop">	
		<?php

				if ( have_posts() ):
					while ( have_posts() ) :
						the_post();

						$post_type =  get_post_type();
				?>

					<article class="blog-list-entry">

						<div class="list-posttype-col">
							<a href="<?php echo get_permalink(); ?>" class="post-type-icon"><i class="pacz-theme-icon-<?php echo esc_attr($post_type); ?>"></i></a>
						</div>
						<div class="list-content-col">
								<h5 class="the-title"><a href="<?php echo get_permalink(); ?>"><?php the_title(); ?></a></h5>

								<div class="listtype-meta">
									
									<?php if($post_type != 'page') : ?>
									<time datetime="<?php the_time( 'F, j' ); ?>" itemprop="datePublished" pubdate>
										<a href="<?php echo get_month_link( get_the_time( "Y" ), get_the_time( "m" ) ); ?>"><?php the_date(); ?></a>
									</time>
									<?php endif; ?>


									<?php if($post_type == 'post') { ?>

									<span><?php echo get_the_category_list( ', ' ); ?></span>
									
									<?php } elseif ($post_type == 'portfolio') { ?>

									<span><?php echo implode( ', ', pacz_get_portfolio_tax($post->ID, false) ); ?></span>
									<?php }  elseif ($post_type == 'causes') { ?>

									<span><?php echo implode( ', ', pacz_get_causes_tax($post->ID, false) ); ?></span>
									<?php } ?>
									

								</div>

								
						</div>
				</article>

				<?php

				endwhile;
				
				pacz_theme_blog_pagenavi($before = '', $after = '', NULL, $paged);
				
				wp_reset_postdata();

				else :
?>

				<div class="search-wrap">
					<h3><?php esc_html_e('Nothing Found', 'classiadspro'); ?></h3>
					<p><?php esc_html_e('Sorry, Nothing found! Try searching a different phrase.', 'classiadspro'); ?></p>


					<div class="searchform" style="text-align:center;">
					
						<?php get_search_form();

						

						?>
				
					</div>
					
				</div>
				<?php endif; ?>
			</section>
		</div>
	<?php if($layout != 'full') get_sidebar(); ?>	
	<div class="clearboth"></div>
		</div>
	</div>
	<div class="clearboth"></div>
	</div>
</div>
<?php get_footer(); ?>