display: inline-block;
width: 100%; }
#blog-posts-over article .entry-header {
+ margin-bottom: 10px;
background: transparent; }
#blog-posts-over article p {
padding-bottom: 15px; }
#blog-posts-over article .entry-header {
margin-bottom: 10px; }
#blog-posts-over article .entry-header .entry-title {
- margin-bottom: -9px; }
+ margin-bottom: 10px; }
#blog-posts-over article .entry-header .meta.date {
+ font-family: Georgia;
font-size: 13px;
font-weight: bold; }
<?php } else { ?>
<h2 class="search-result-header small-12 columns">Search Results for "<?php echo get_search_query(); ?>"</h2>
<?php if(have_posts()) : while(have_posts()): the_post();?>
- <?php if (is_search() && (isset($_GET['searchType']) && $_GET['searchType'] == 'post') && ($post->post_type=='page')) continue; ?>
+ <?php if (is_search() && (isset($_GET['searchType']) && $_GET['searchType'] == 'blog') && ($post->post_type=='page')) continue; ?>
<div class="row content search-result-container">
<div class="small-11 small-centered columns">
<article id="<?php the_ID()?>" <?php post_class()?>>
<div class="row">
<div class="small-12 columns">
<article id="<?php the_ID()?>" <?php post_class()?>>
- <h1><?php the_title();?></h1>
- <?php if ( has_post_thumbnail() ):?>
- <div class="featured-image-wrap"><?php the_post_thumbnail("large"); ?></div>
- <?php endif; ?>
+ <header class="entry-header">
+ <h2 class="entry-title"><a href="<?php the_permalink(); ?>"><?php the_title();?></a></h2>
+ <?php if ( has_post_thumbnail() ):?>
+ <div class="featured-image-wrap"><?php the_post_thumbnail("large"); ?></div>
+ <?php endif; ?>
+ <span class="meta date">Posted on <?php the_time('F jS, Y') ?></span>
+ </header>
+
<?php echo the_content(); ?>
<footer class="entry-meta small-12 medium-6 medium-push-3 center">
<?php $post_categories = wp_get_post_categories( get_the_ID() );