<?php wp_link_pages(array('before' => '<div class="page-link">Pages:', 'after' => '</div>')); ?> </article> <div id="comments"> <?php comments_template('', true); ?> </div> <?php } ?> <!-- Navigation --> <?php sf_display_nav("numbar"); ?> <?php } else { ?> <!-- No Posts Found --> <div class="entry" id="entry-err"> <h2 class="pagetitle">Post not found.</h2> </div> <?php } ?> </section> <!-- /content --> <?php
get_header(); ?> <!-- content --> <div id="content" class="content"> <?php if (have_posts()) { ?> <h2 class="pagetitle">Search Results for "<em><?php the_search_query(); ?> </em>"</h1> <!-- Navigation --> <?php sf_display_nav(); ?> <?php while (have_posts()) { the_post(); ?> <!-- Individual Post Styling --> <div class="entry" id="entry-<?php the_ID(); ?> "> <?php $title = get_the_title(); $keys = explode(" ", $s); $title = preg_replace('/(' . implode('|', $keys) . ')/iu', '<strong class="search-term">\\0</strong>', $title);