-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsearch.php
33 lines (33 loc) · 1.02 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
<?php get_header(); ?>
<div>
<div class="row">
<?php if (have_posts()) : ?>
<div class="col-md-12 site-content">
<?php while (have_posts()) : the_post(); ?>
<div class="row">
<div class="col-md-12">
<h3>
<?php the_title(); ?>
</h3>
<p><?php the_excerpt() ?></p>
<a href="<?php the_permalink() ?>" rel="bookmark">Read More</a>
</div>
</div>
<?php endwhile; ?>
</div>
<?php else : ?>
<div class="alert alert-block alert-info fade in">
<button type="button" class="close" data-dismiss="alert">×</button>
<h3 class="alert-heading">Couldn't find what you were looking for ?</h4>
<p>Why not request a callback or browse the links below ?</p>
<p>
<a href="#callbackModal" role="button" class="btn btn-info" data-toggle="modal">Request a Callback</a>
</p>
</div>
<div class="col-md-12 site-content" style="margin:0">
<?php include('php/sitemap.php'); ?>
</div>
<?php endif; ?>
</div>
</div>
<?php get_footer(); ?>