Usar Toolset Views y modal de Bootstrap para mostrar contenido
// this part displays the trigger for the modal
<button type="button" class="btn btn-primary" data-toggle="modal" data-target=".xmit-modal-sm-[wpv-post-id]">
<a href="[wpv-post-url]" class="btn btn-info" data-toggle="modal" data-target="#[wpv-post-id]"><div class="imageclass"><img src="[wpv-post-featured-image output="url" size="medium"]" /></div><h4>[wpv-post-title]</h4></a>
</button>
// this is what appears in the modal
<div class="modal fade xmit-modal-sm-[wpv-post-id]" tabindex="-1" role="dialog" aria-labelledby="[wpv-post-title]" aria-hidden="true">
<div class="modal-dialog modal-sm">
<div class="modal-content">
// can be any HTML content
</div>
</div>
</div>
Visto en https://gist.github.com/davekuhar/648266b99953828c252778581ce3e7cc
Usar Toolset Views y modal de Bootstrap para mostrar contenido Leer más »