File: /home/harmonyg/www/ektest/wp-content/themes/hathor/search.php
<?php
get_header(); ?>
<div class="row ">
<div class="columns">
<div id="content">
<div class="top-content">
<div class="search_term"><h2 class="postsearch"><?php printf( __( 'Search Results for: %s', 'hathor' ), get_search_query() ); ?></h2>
<a class="search_count"><?php _e('Total posts found for', 'hathor'); ?> <?php /* Search Count */ $allsearch = new WP_Query("s=$s&showposts=-1"); $key = esc_html($s, 1); $count = $allsearch->post_count; _e('', 'hathor'); _e('<span class="search-terms">"', 'hathor'); echo $key; _e('"</span>', 'hathor'); _e(' — ', 'hathor'); echo $count . ''; wp_reset_query(); ?></a>
<?php get_search_form(); ?>
</div>
<!--Content-->
<?php
while (have_posts()) : the_post();?>
<div <?php post_class(); ?> id="post-<?php the_ID(); ?>"> </div>
<div id="content" class="content_blog blog_style_b1" role="main">
<article class="post_format_standard odd">
<div class="post_info_1">
<div class="post_date"><span class="day"><?php the_time( ('j') ); ?></span><span class="month"><?php the_time( ('M') ); ?></span></div>
</div>
<div class="title_area">
<h1 class="post_title"><a href="<?php the_permalink();?>" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a></h1>
</div>
<div class="post_info post_info_2">
<?php if(of_get_option('dissauth_checkbox') == "0"){ ?>
<span class="post_author">Posted by: <a class="post_author"><?php the_author(); ?></a></span><?php } ?>
<span class="post_info_delimiter"></span>
<?php if(of_get_option('disscats_checkbox') == "0"){ ?>
<?php if( has_category() ) { ?>
<span class="post_categories">
<span class="cats_label">Categories:</span>
<a class="cat_link"><?php the_category(' '); ?></a>
</span>
<?php } ?><?php } ?>
<div class="post_comments"><a><span class="comments_number"> <?php comments_popup_link( __( 'No comments', 'hathor' ), __( '1 Comment', 'hathor' ), __( '% Comments', 'hathor' )); ?> </span><span class="icon-comment"></span></a></div>
</div>
<div class="pic_wrapper image_wrapper">
<?php the_post_thumbnail('medium'); ?>
</div>
<div class="post_content">
<p><?php the_excerpt(); ?></p>
<div class="readmore"><a href="<?php the_permalink();?>" class="more-link">Read more</a></div>
</div>
<div class="post_info post_info_3 clearboth">
<?php if(of_get_option('disscats_checkbox') == "0"){ ?>
<span class="post_tags">
<span class="tags_label">Tags:</span>
<?php if( has_tag() ) { ?><a class="tag_link"><?php the_tags('',' '); ?></a>
</span><?php } ?><?php } ?>
</div>
</article>
</div>
<?php endwhile ?>
<?php get_template_part('pagination'); ?>
</div>
<?php if(of_get_option('nosidebar_checkbox') == "0"){ ?><?php get_sidebar();?><?php } ?>
</div>
</div></div></div>
<?php get_footer(); ?>