add adaptive functions
This commit is contained in:
16
index.php
16
index.php
@@ -34,8 +34,10 @@ $nn = 0;?>
|
||||
|
||||
<div class="main-card">
|
||||
|
||||
<?if ( has_post_thumbnail() ) :?>
|
||||
<a href="<?the_permalink();?>"><img class="card-img-top" src="<?php echo get_the_post_thumbnail_url(null, 'full'); ?>" alt="<?the_title();?>"></a>
|
||||
<?if ( has_post_thumbnail() ) :?>
|
||||
<div class="card-img-top">
|
||||
<a href="<?the_permalink();?>"><img src="<?php echo get_the_post_thumbnail_url(null, 'full'); ?>" alt="<?the_title();?>"></a>
|
||||
</div>
|
||||
<?endif?>
|
||||
|
||||
<h2 class="main-card-title"><a href="<?the_permalink();?>"><?the_title();?></a></h2>
|
||||
@@ -68,10 +70,18 @@ $nn = 0;?>
|
||||
</div> <!--//end minicard block -->
|
||||
|
||||
|
||||
|
||||
<?php endif;?>
|
||||
|
||||
<?php wp_reset_postdata();?>
|
||||
|
||||
<?php mob_block('/blocks/opinion.php');?>
|
||||
<?php mob_block('/blocks/citata.php');?>
|
||||
<?php mob_block('/blocks/mosts.php');?>
|
||||
|
||||
|
||||
|
||||
</div> <!-- end content -->
|
||||
|
||||
|
||||
<?php get_footer(); ?>
|
||||
<?php get_footer(); ?>
|
||||
|
||||
Reference in New Issue
Block a user