<?php echo bambule_posted_meta(); ?> <!-- .entry-meta --> </div> </header> <div class="entry-content"> <?php if (bambule_get_attachment()) { ?> <a class="standard-featured-link" href="<?php the_permalink(); ?> "> <div class="standard-featured background-image" style="background-image: url(<?php echo bambule_get_attachment(); ?> )"></div> </a> <?php } ?> <div class="entry-excerpt"> <?php the_excerpt(); ?> <!-- .entry-excerpt --> </div> <div class="button-container text-center"> <a href="<?php the_permalink();
@package bambuletheme */ ?> <article id="post-<?php the_ID(); ?> " <?php post_class('bambule-format-gallery'); ?> > <header class="entry-header text-center"> <?php if (bambule_get_attachment()) { $attachments = bambule_get_attachment(7); //var_dump($attachments); ?> <div id="post-gallery-<?php the_ID(); ?> " class="carousel slide bambule-carousel-thumb" data-ride="carousel"> <div class="carousel-inner" role="listbox"> <?php $count = count($attachments) - 1; for ($i = 0; $i <= $count; $i++) { $active = $i == 0 ? ' active ' : ''; $n = $i == $count ? 0 : $i + 1;