don't pair program items side by side from chapter 12
This commit is contained in:
parent
6a3aa6c761
commit
bebdc65486
|
@ -87,7 +87,7 @@
|
|||
</div>
|
||||
</div>
|
||||
<!-- MOBILE itemtyp1 END -->
|
||||
<?php elseif ($num < 12) : ?>
|
||||
<?php else : ?>
|
||||
<!-- MOBILE itemtyp2 START -->
|
||||
<div class="large-12 cell hide-for-large">
|
||||
<div class="block nieuwsitem hide-for-large">
|
||||
|
@ -142,54 +142,6 @@
|
|||
</div>
|
||||
</div>
|
||||
<!-- MOBILE itemtyp2 END -->
|
||||
<?php else : ?>
|
||||
<!-- MOBILE itemtyp3 START -->
|
||||
<div class="large-12 cell hide-for-large">
|
||||
<div class="block nieuwsitem hide-for-large">
|
||||
<div class="grid-container full">
|
||||
<div class="grid-x grid-margin-x">
|
||||
<div class="small-1 cell">
|
||||
<!-- EMPTY -->
|
||||
</div>
|
||||
<div class="small-10 cell " data-aos="fade-left">
|
||||
<?php if (has_post_thumbnail()) : ?>
|
||||
<?php the_post_thumbnail('large', array('class' => 'nieuwsimage nieuwsimageflat')); ?>
|
||||
<?php else : ?>
|
||||
<img class="nieuwsimage nieuwsimageflat" src="<?php bloginfo('template_url'); ?>/img/includes/bij1_default.png" alt="default image">
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<div class="small-1 cell">
|
||||
<!-- EMPTY -->
|
||||
</div>
|
||||
<div class="small-1 cell">
|
||||
<!-- EMPTY -->
|
||||
</div>
|
||||
|
||||
<div class="small-10 cell ">
|
||||
<div class="mobileinner">
|
||||
<h2><?php the_title(); ?></h2>
|
||||
|
||||
<?php if (have_rows('bulletpoints', get_the_ID())) : ?>
|
||||
<ul>
|
||||
<?php while (have_rows('bulletpoints', get_the_ID())) : the_row(); ?>
|
||||
<li><?php the_sub_field('bulletpoint', get_the_ID()); ?></li>
|
||||
<?php endwhile; ?>
|
||||
</ul>
|
||||
<?php endif; ?>
|
||||
|
||||
</div>
|
||||
<a href="<?php the_permalink(); ?>" class="arrowlink right"><?php pll_e('Lees meer'); ?> <i class="icon-right"></i></a>
|
||||
</div>
|
||||
|
||||
<div class="small-1 cell">
|
||||
<!-- EMPTY -->
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- MOBILE itemtyp3 END -->
|
||||
<?php endif; ?>
|
||||
<!-- MOBILE LOOP END -->
|
||||
|
||||
|
@ -244,7 +196,7 @@
|
|||
</div>
|
||||
</div>
|
||||
<!-- DESKTOP itemtype1 END -->
|
||||
<?php elseif ($num < 12) : ?>
|
||||
<?php else : ?>
|
||||
<!-- DESKTOP itemtype2 START -->
|
||||
<div class="large-12 cell show-for-large">
|
||||
<div class="posttypeblock2 ">
|
||||
|
@ -287,71 +239,6 @@
|
|||
</div>
|
||||
</div>
|
||||
<!-- DESKTOP itemtype2 END -->
|
||||
<?php else : ?>
|
||||
<!-- DESKTOP itemtype3 START -->
|
||||
<?php if ($query->current_post % 2 == 0) : ?>
|
||||
<div class="large-2 cell show-for-large">
|
||||
<!-- EMPTY -->
|
||||
</div>
|
||||
<div class="large-4 cell show-for-large">
|
||||
<div class="posttypeblock3" data-aos="fade-up">
|
||||
<div class="flex-container flex-dir-column" style="height: 100%">
|
||||
<div class="flex-child-grow"></div>
|
||||
<div class="flex-child-shrink">
|
||||
<div class="imagecontainer ">
|
||||
<?php the_post_thumbnail('square', array('class' => 'coverimage')); ?>
|
||||
</div>
|
||||
<h3 class="breakword"><?php the_title(); ?></h3>
|
||||
|
||||
<?php if (have_rows('bulletpoints', get_the_ID())) : ?>
|
||||
<ul>
|
||||
<?php while (have_rows('bulletpoints', get_the_ID())) : the_row(); ?>
|
||||
<li><?php the_sub_field('bulletpoint', get_the_ID()); ?></li>
|
||||
<?php endwhile; ?>
|
||||
</ul>
|
||||
<?php endif; ?>
|
||||
<a href="<?php the_permalink(); ?>" class="arrowlink right"><?php pll_e('Lees meer'); ?> <i class="icon-right"></i></a>
|
||||
</div>
|
||||
<div class="flex-child-grow"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php else : ?>
|
||||
|
||||
<div class="large-4 cell show-for-large">
|
||||
<div class="posttypeblock3" data-aos="fade-up">
|
||||
<div class="flex-container flex-dir-column" style="height: 100%">
|
||||
<div class="flex-child-grow"></div>
|
||||
<div class="flex-child-shrink">
|
||||
<div class="imagecontainer ">
|
||||
<?php the_post_thumbnail('square', array('class' => 'coverimage')); ?>
|
||||
</div>
|
||||
<h3 class="breakword"><?php the_title(); ?></h3>
|
||||
|
||||
<?php if (have_rows('bulletpoints', get_the_ID())) : ?>
|
||||
<ul>
|
||||
<?php while (have_rows('bulletpoints', get_the_ID())) : the_row(); ?>
|
||||
<li><?php the_sub_field('bulletpoint', get_the_ID()); ?></li>
|
||||
<?php endwhile; ?>
|
||||
</ul>
|
||||
<?php endif; ?>
|
||||
<a href="<?php the_permalink(); ?>" class="arrowlink right"><?php pll_e('Lees meer'); ?> <i class="icon-right"></i></a>
|
||||
</div>
|
||||
<div class="flex-child-grow"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="large-2 cell show-for-large">
|
||||
<!-- EMPTY -->
|
||||
</div>
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- DESKTOP itemtype3 END -->
|
||||
<?php endif; ?>
|
||||
|
||||
<!-- DESKTOP LOOP END -->
|
||||
|
|
Loading…
Reference in New Issue