making it html valid
authorIan Weller <ian@gaslightmedia.com>
Fri, 11 Aug 2017 20:03:30 +0000 (16:03 -0400)
committerIan Weller <ian@gaslightmedia.com>
Fri, 11 Aug 2017 20:03:30 +0000 (16:03 -0400)
I found there was a href attribute in the h2.  I went in and removed it.

parts/blog-feed-front.php

index 35c7af3..8660db6 100644 (file)
@@ -14,7 +14,7 @@ foreach($lastposts as $post) : setup_postdata($post); ?>
                  <?php } else { ?>
                 <div class="small-12 columns home-feed-post-content">
                 <?php } ?>                
-                <h2 class="title-posts" href="<?php the_permalink(); ?>"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
+                <h2 class="title-posts"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
                 <span class="meta date"><?php the_time('F j, Y') ?></span>
                 <div class="excerpt<?php echo $count ?>"><?php echo the_advanced_excerpt('length=265&length_type=characters&no_custom=1&ellipsis=%26hellip;&exclude_tags=a,img,p,strong,h1,h2,h3,hr,div'); ?></div>
             </div>