-
Notifications
You must be signed in to change notification settings - Fork 1
/
search.php
32 lines (31 loc) · 976 Bytes
/
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
<?php get_header(); ?>
<div id="mitte">
<?php if ($posts) { ?>
<div class="post">
<div class="post-head">
<div class="post-info">Recherche</div>
<div class="post-title"><h3>Suchergebnisse für '<?php echo $s; ?>'</h3></div>
</div>
</div>
<?php foreach ($posts as $post) : start_wp(); ?>
<div class="post">
<?php require('post.php'); ?>
<?php comments_template(); ?>
</div>
<?php endforeach; ?>
<?php } else { ?>
<div class="post">
<div class="post-head">
<div class="post-info">Recherche</div>
<div class="post-title"><h3 class="center">Nichts gefunden</h3></div>
</div>
<div class="post-content">
<p>Keine Beiträge gefunden, die deinen Kriterien entsprechen.</p>
</div>
</div>
<?php } ?>
<div class="post" style="text-align:right">
<?php posts_nav_link( ' | ', 'Neuere Beiträge', 'Ältere Beiträge' ); ?>
</div>
</div>
<?php get_footer(); ?>