rendered paste body<?php get_header(); ?><!-- content ................................. --><div id="content" class="archive"><?php if (have_posts()) : ?><h2>Search Results for <?php echo $s ?></h2><?php while (have_posts()) : the_post(); ?><?php $custom_fields = get_post_custom(); //custom fields ?><?php if (isset($custom_fields["BX_post_type"]) && $custom_fields["BX_post_type"][0] == "mini") { ?><hr class="low" /><div class="minientry"><?php echo BX_remove_p($post->post_excerpt); ?><?php comments_popup_link('(0)', '(1)', '(%)', 'commentlink', ''); ?>" class="permalink" title="Permalink"><?php the_time('M j, \'y') ?><!--, <?php the_time('h:ia') ?>--><!--<em class="author"><?php the_author() ?>--><?php edit_post_link('Edit','<span class="editlink">','</span>'); ?></div><hr class="low" /><?php } else { ?><div class="entry"><h3>" title="Permalink"><?php the_title(); ?></h3><?php ($post->post_excerpt != "")? the_excerpt() : BX_shift_down_headlines($post->post_content); ?><p class="info"><?php if ($post->post_excerpt != "") { ?>" class="more">Continue Reading<?php } ?><?php comments_popup_link('Add comment', '1 comment', '% comments', 'commentlink', ''); ?><em class="date"><?php the_time('F jS, Y') ?><!-- at <?php the_time('h:ia') ?>--><!--<em class="author"><?php the_author(); ?>--><?php edit_post_link('Edit','<span class="editlink">','</span>'); ?></div><?php } ?><?php endwhile; ?><!-- this is ugly --><span class="next"><?php previous_posts_link('Next Posts') ?></span><span class="previous"><?php next_posts_link('Previous Posts') ?></span><?php else : ?><h2>No Results for <?php echo $s ?></h2>Sorry, but you are looking for something that isn't here.<?php endif; ?></div> <!-- /content --><?php get_sidebar(); ?><?php get_footer(); ?>