Title: Inserts en empty modal code when the loop is run
Last modified: October 7, 2016

---

# Inserts en empty modal code when the loop is run

 *  [CF](https://wordpress.org/support/users/ottaviano/)
 * (@ottaviano)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/inserts-en-empty-modal-code-when-the-loop-is-run/)
 * I noticed this plugin is inserting an empty modal code when my loop runs. Doing
   this on both pages and on blog posts. Any solutions for removing this?
 *     ```
       <div id="blueimp-gallery" class="blueimp-gallery" data-useBootstrapModal="0" data-fullScreen="0">
       <div class="slides"></div>
           <h3 class="title"></h3>
           <a class="prev">￩</a>
           <a class="next">￫</a>
           <a class="close">x</a>
           <a class="play-pause"></a>
           <ol class="indicator"></ol>
           <div class="modal fade">
               <div class="modal-dialog">
                   <div class="modal-content">
                       <div class="modal-header">
                           <button type="button" class="close" aria-hidden="true">&times;</button>
                           <h4 class="modal-title"></h4>
                       </div>
                       <div class="modal-body next"></div>
                       <div class="modal-footer">
                           <button type="button" class="btn btn-default pull-left prev">
                               Previous
                           </button>
                           <button type="button" class="btn btn-primary next">
                               Next
                           </button>
                       </div>
                   </div>
               </div>
           </div>
       </div>
       ```
   

The topic ‘Inserts en empty modal code when the loop is run’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-bootstrap-gallery_6f6966.svg)
 * [WP Bootstrap Gallery](https://wordpress.org/plugins/wp-bootstrap-gallery/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-bootstrap-gallery/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-bootstrap-gallery/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-bootstrap-gallery/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-bootstrap-gallery/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-bootstrap-gallery/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [CF](https://wordpress.org/support/users/ottaviano/)
 * Last activity: [9 years, 7 months ago](https://wordpress.org/support/topic/inserts-en-empty-modal-code-when-the-loop-is-run/)
 * Status: not resolved