Home Forums Add-ons Repeater Field Repeat img in bootstrap modal window


Repeat img in bootstrap modal window

  • Hi all,

    Please help, I have 3 blocks, when I click on the block, a modal window opens, and they have a flex slider. how to make different content for them?

    <?php if(get_field('modal_slider')): $i = 0; ?>
                        <?php while(has_sub_field('modal_slider')): $i++; ?>
                        <!-- Modal -->
                        <div id="myModal" class="modal fade product-info-modal" tabindex="-1" role="dialog">
                          <div class="modal-dialog">
                            <div class="modal-content">
                            <button type="button" class="close" data-dismiss="modal">&times;</button>
                              <div class="product-area">
                                <div class="col-md-6">
                                  <div class="product-slider">
                                    <div class="flexslider">
                                      <ul class="slides">
                                          <img />" alt="" />
                                  <div class="col-md-6">
                      <?php endwhile; ?>
Viewing 1 post (of 1 total)

The topic ‘Repeat img in bootstrap modal window’ is closed to new replies.