|
|
@@ -84,34 +84,12 @@
|
|
|
<div class="row">
|
|
|
<div class="col-md-6">
|
|
|
<span class="teaser"><?php the_excerpt(); ?></span>
|
|
|
- <?= do_shortcode($columnOne); ?><br>
|
|
|
+ <?= strip_shortcodes($columnOne); ?><br>
|
|
|
</div>
|
|
|
<div class="col-md-6">
|
|
|
- <?= do_shortcode($columnTwo); ?>
|
|
|
- </div><?php
|
|
|
- // images (gallery)
|
|
|
- $tdaQuery = new WP_Query(array('post_type' => 'tdas'));
|
|
|
- if($tdaQuery->have_posts()) { ?>
|
|
|
- <div class="col-md-12 tda-gallery clearfix">
|
|
|
- <div class="row"><?php
|
|
|
- while($tdaQuery->have_posts()) {
|
|
|
- $tdaQuery->the_post(); ?>
|
|
|
- <div class="col-md-3 col-xs-4 tda-item" style="padding-bottom: 15px;">
|
|
|
- <div class="relcontainer">
|
|
|
- <a href="<?= get_permalink(); ?>">
|
|
|
- <?php if(has_post_thumbnail()) the_post_thumbnail('thumbnail', array('class' => 'tda-gallery-item')); ?>
|
|
|
- <div class="tda-hover">
|
|
|
- <div class="relcontainer">
|
|
|
- <span><?php the_title(); ?></span>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </a>
|
|
|
- </div>
|
|
|
- </div><?php
|
|
|
- } ?>
|
|
|
- </div>
|
|
|
- </div><?php
|
|
|
- } ?>
|
|
|
+ <?= strip_shortcodes($columnTwo); ?>
|
|
|
+ </div>
|
|
|
+ <?php echo do_shortcode("[hoverboxes type=\"tdas\"]"); ?>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="container b-to-top">
|
|
|
@@ -142,24 +120,7 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div id="partners" class="container text-muted">
|
|
|
- <div class="row"><?php
|
|
|
- while($partnerQuery->have_posts()) {
|
|
|
- $partnerQuery->the_post(); ?>
|
|
|
- <div class="col-md-4">
|
|
|
- <div class="card">
|
|
|
- <?php if(has_post_thumbnail()) the_post_thumbnail('thumbnail', array('class' => 'card-img-top')); ?>
|
|
|
- <div class="card-block">
|
|
|
- <h4 class="card-title"><?= get_the_title(); ?></h4>
|
|
|
- <p class="card-text">
|
|
|
- <?php echo the_content(); ?>
|
|
|
- </p>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </div><?php
|
|
|
- } ?>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
+ <?php echo do_shortcode("[partnersboxes]"); ?>
|
|
|
<div class="container b-to-top">
|
|
|
<div class="row">
|
|
|
<div class="col-xs-12">
|
|
|
@@ -196,34 +157,12 @@
|
|
|
<div class="row">
|
|
|
<div class="col-md-6">
|
|
|
<span class="teaser"><?php the_excerpt(); ?></span>
|
|
|
- <?= $columnOne; ?><br>
|
|
|
+ <?= strip_shortcodes($columnOne); ?><br>
|
|
|
</div>
|
|
|
<div class="col-md-6">
|
|
|
- <?= $columnTwo; ?>
|
|
|
- </div><?php
|
|
|
- // images (gallery)
|
|
|
- $tdaQuery = new WP_Query(array('post_type' => 'projects'));
|
|
|
- if($tdaQuery->have_posts()) { ?>
|
|
|
- <div class="col-md-12 tda-gallery clearfix">
|
|
|
- <div class="row"><?php
|
|
|
- while($tdaQuery->have_posts()) {
|
|
|
- $tdaQuery->the_post(); ?>
|
|
|
- <div class="col-md-3 col-xs-4 tda-item" style="padding-bottom: 15px;">
|
|
|
- <div class="relcontainer">
|
|
|
- <a href="<?= get_permalink(); ?>">
|
|
|
- <?php if(has_post_thumbnail()) the_post_thumbnail('thumbnail', array('class' => 'tda-gallery-item')); ?>
|
|
|
- <div class="tda-hover">
|
|
|
- <div class="relcontainer">
|
|
|
- <span><?php the_title(); ?></span>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </a>
|
|
|
- </div>
|
|
|
- </div><?php
|
|
|
- } ?>
|
|
|
- </div>
|
|
|
- </div><?php
|
|
|
- } ?>
|
|
|
+ <?= strip_shortcodes($columnTwo); ?>
|
|
|
+ </div>
|
|
|
+ <?php echo do_shortcode("[hoverboxes type=\"projects\"]"); ?>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="container b-to-top">
|