Skip to content
Browse files

search results display and i've been using the wrong name on the read…

…me for years
  • Loading branch information...
1 parent 48c39bb commit d1f1661286743ab1b7e7bc082a79bdbb54db419a @pnts committed Aug 12, 2010
Showing with 11 additions and 5 deletions.
  1. +10 −4 index.php
  2. +1 −1 readme.html
View
14 index.php
@@ -8,11 +8,17 @@
<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
<p class="date"><?php the_time('F jS, Y') ?> <?php comments_popup_link('<span class="commentcount">&sect; 0</span>', '<span class="commentcount">&sect; 1</span>', '<span class="commentcount">&sect; %</span>'); ?></p>
- <div class="entry">
- <?php { if ( function_exists('add_theme_support')) the_post_thumbnail( 'post-thumbnail' ); } ?>
- <?php the_content('&raquo; Read the rest of this entry &laquo;'); ?>
- </div>
+ <?php if(is_search()) : ?>
+ <div class="entry">
+ <?php the_excerpt(); ?>
+ </div>
+ <?php else : ?>
+ <div class="entry">
+ <?php { if ( function_exists('add_theme_support')) the_post_thumbnail( 'post-thumbnail' ); } ?>
+ <?php the_content('&raquo; Read the rest of this entry &laquo;'); ?>
+ </div>
<?php if(is_home()) { if ( function_exists('wp_list_comments') ) { ?></div><!-- close post_class --><?php }} ?>
+ <?php endif; ?>
<?php endwhile; ?>
<div class="navigation">
View
2 readme.html
@@ -2,7 +2,7 @@
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
- <title>Hanami Operating Manual</title>
+ <title>Oulipo Operating Manual</title>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<meta name="description" content="Ocular Professor: Showing Off What You See" />
<meta name="keywords" content="Ocular Professor, theme, wordpress, photoblog" />

0 comments on commit d1f1661

Please sign in to comment.
Something went wrong with that request. Please try again.