/webroot/blog/wp-content/themes/la-school-blue/search.php
PHP | 44 lines | 27 code | 17 blank | 0 comment | 3 complexity | cd3c59c9dc9ffa043096c3598b2a3259 MD5 | raw file
Possible License(s): GPL-2.0, AGPL-1.0, LGPL-2.1, GPL-3.0
- <?php get_header(); ?>
-
- <div class="content">
-
- <?php if (have_posts()) : ?>
-
- <h3><?php _e('Search Results', 'laschool'); ?></h3>
-
- <p><?php printf(__('You have searched the <a href="%1$s/">%2$s</a> blog archives for <strong>‘%3$s’</strong>.', 'laschool'), get_bloginfo('url'), get_bloginfo('name'), get_search_query()); ?></p>
-
- <p> </p>
- <?php while (have_posts()) : the_post(); ?>
-
- <div <?php post_class(); ?>>
- <h2 id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php printf(__('Permanent Link to %s', 'laschool'), the_title_attribute('echo=0')); ?>"><?php the_title(); ?></a> <small>– <?php the_time(__('j. F, Y', 'laschool')) ?> <!-- by <?php the_author() ?> --></small></h2>
-
- <div class="entry">
- <?php the_content() ?>
- </div>
-
- <div class="comments-nr"><?php comments_popup_link(__('0<span> Comments</span>', 'laschool'), __('1<span> Comment</span>', 'laschool'), __('%<span> Comments</span>', 'laschool')); ?></div>
- <div class="postdata"><?php printf(__('Posted in %s', 'laschool'), get_the_category_list(', ')); ?></div>
-
- </div>
-
- <?php endwhile; ?>
-
- <div class="navigation">
- <div class="alignleft"><?php next_posts_link(__('« Older Entries', 'laschool')) ?></div>
- <div class="alignright"><?php previous_posts_link(__('Newer Entries »', 'laschool')) ?></div>
- </div>
-
- <?php else : ?>
-
- <h2 class="center"><?php _e('No posts found. Try a different search?', 'laschool'); ?></h2>
- <?php include (TEMPLATEPATH . '/searchform.php'); ?>
-
- <?php endif; ?>
-
- </div>
-
- <?php get_sidebar(); ?>
-
- <?php get_footer(); ?>