Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

…me for years
  • Loading branch information...
commit d1f1661286743ab1b7e7bc082a79bdbb54db419a 1 parent 48c39bb
@pnts authored
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" />
Please sign in to comment.
Something went wrong with that request. Please try again.