changed thumbnails call. commented when no content found.
This commit is contained in:
parent
1096b798fa
commit
12c0e5b8ca
|
@ -22,7 +22,7 @@ get_header(); ?>
|
|||
<div class="entry-content">
|
||||
<h2 class="box index"><?php the_title(); ?></h2>
|
||||
<?php if ( has_post_thumbnail() ) : // check if the post has a Post Thumbnail assigned to it.
|
||||
the_post_thumbnail('thumbnail'); ?>
|
||||
the_post_thumbnail(); ?>
|
||||
<p class="excerptbox"><?php echo get_the_excerpt(); ?></p>
|
||||
<?php else : ?>
|
||||
<div class="contentcurt">
|
||||
|
@ -33,7 +33,7 @@ get_header(); ?>
|
|||
|
||||
<?php wp_link_pages( array( 'before' => '<p class="page-links pages">' . __( 'Pages:', 'hangar' ), 'after' => '</p>' ) ); ?>
|
||||
</div><!-- .entry-content -->
|
||||
</div><!-- post .hentry -->
|
||||
</div><!-- post .boxentry -->
|
||||
|
||||
<?php $pare = get_the_ID(); endwhile; ?>
|
||||
|
||||
|
@ -45,7 +45,7 @@ get_header(); ?>
|
|||
|
||||
<?php endif; ?>
|
||||
|
||||
</div>
|
||||
</div> <!-- end indexall wide -->
|
||||
<div id="content" class="indexall tags">
|
||||
<?php
|
||||
// Detect plugin. For use on Front End only.
|
||||
|
@ -56,7 +56,7 @@ get_header(); ?>
|
|||
hangar_show_extra_content();
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
<!--end Main-->
|
||||
|
||||
</div><!-- end indexall tags -->
|
||||
|
||||
<?php get_footer(); ?>
|
||||
|
|
Loading…
Reference in New Issue