-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsearch.php
More file actions
39 lines (25 loc) · 1.43 KB
/
search.php
File metadata and controls
39 lines (25 loc) · 1.43 KB
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
<?php get_header(); ?>
<div id="edukia-osoa" role="main">
<?php if (have_posts()) : ?>
<h2 class="pagetitle"><?php __('Search Results', 'librezale') ?></h2>
<div class="nabigazioa">
<div class="ezkerrean"><?php previous_posts_link() ?></div>
<div class="eskuinean"><?php next_posts_link() ?></div>
</div>
<?php while (have_posts()) : the_post(); ?>
<div <?php post_class() ?>>
<h3 id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php printf(__('Permalink: %s', 'librezale'), the_title_attribute()); ?>"><?php the_title(); ?></a></h3>
<small><?php the_time(__('Y-m-d', 'librezale')) ?></small>
<p class="postmetadata"><?php the_tags('', ', ', ' / '); the_category(', ') ?> | <?php edit_post_link(__('Edit', 'librezale'), '', ' | '); ?> <?php comments_popup_link(__('No Comments »', 'librezale'), __('1 Comment »', 'librezale'), __('% Comments »', 'librezale')); ?></p>
</div>
<?php endwhile; ?>
<div class="nabigazioa">
<div class="ezkerrean"><?php previous_posts_link('« Aurreko bidalketak') ?></div>
<div class="eskuinean"><?php next_posts_link('Hurrengo bidalketak »') ?></div>
</div>
<?php else : ?>
<h2 class="center"><?php _e('No posts found. Try a different search?', 'librezale') ?></h2>
<?php get_search_form(); ?>
<?php endif; ?>
</div>
<?php get_footer(); ?>