I'm looking to change the markup of the Wordpress Gallery, so that it outputs a new set of code.
Ideally, this is what I want (a Bootstrap-based markup).
<div class="col-md-3 col-sm-4"> <a href="img-large.jpg" class="img-link-class"> <img class="img-responsive img-thumbnail" src="img-thumbnail.jpg" alt=""/> </a> </div>
Is there a way to do that in the functions.php file of my theme. The standard column, dt, etc.. markup is kind of annoying.