work on homepage
This commit is contained in:
2
loop.php
2
loop.php
@@ -9,7 +9,7 @@
|
||||
<!-- post thumbnail -->
|
||||
<?php if (has_post_thumbnail()): // Check if thumbnail exists ?>
|
||||
<a class="thumbnailwrapper" href="<?php the_permalink();?>" title="<?php the_title();?>">
|
||||
<?php if(is_home() and $qc < 3): ;
|
||||
<?php if(is_home() and $qc < 3): ; //first two posts are big
|
||||
the_post_thumbnail('home-big-thumbnail');
|
||||
else:
|
||||
the_post_thumbnail('home-square-thumbnail');
|
||||
|
||||
Reference in New Issue
Block a user