-
Notifications
You must be signed in to change notification settings - Fork 0
/
search.php
50 lines (30 loc) · 1.4 KB
/
search.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<?php
$searchTxt = esc_attr( appthemes_filter( get_search_query() ) );
if ( empty( $searchTxt ) || $searchTxt == __( 'What are you looking for?', APP_TD ) )
$searchTxt = '*';
//echo $wp_query->request;
?>
<div class="content">
<div class="content_botbg">
<div class="content_res">
<div id="breadcrumb">
<?php //if ( function_exists('cp_breadcrumb') ) cp_breadcrumb(); ?>
<div id="crumbs"><a href="<?php echo get_site_url();?>">Home</a> » Search<span class="current"></span></div>
</div><!-- /breadcrumb -->
<!-- left block -->
<div class="content_left">
<div class="shadowblock_out">
<div class="shadowblock">
<?php /*?><h1 class="single dotted"><?php printf( __( 'Search for \'%1$s\' returned %2$s results', APP_TD ), $searchTxt, $wp_query->found_posts ); ?></h1><?php */?>
<h1 class="single dotted"><?php printf( __( 'Search results[%2$s]', APP_TD ), $searchTxt, $wp_query->found_posts ); ?></h1>
</div><!-- /shadowblock -->
</div><!-- /shadowblock_out -->
<?php //get_template_part( 'loop', 'ad_listing' );
get_template_part( 'loop', 'search_ad_listing' );
?>
</div><!-- /content_left -->
<?php get_sidebar(); ?>
<div class="clr"></div>
</div><!-- /content_res -->
</div><!-- /content_botbg -->
</div><!-- /content -->