Template Tags
{exp:channel:entries channel="page"}
{my_bloqs_field}
<!-- Note that any html here will not render. Only content within
the tag pairs below will render. -->
<div class="container">For example, this will not be output</div>
{content_bloq}
<div class="container">
<h2>{heading}</h2>
{body_content}
<!-- If using nested bloqs, you'll want to add the {bloqs:children}
tag within each bloq that might have one or more children -->
<div class="children-container">
{bloqs:children}
</div>
</div>
{/content_bloq}
<!-- Working with file field examples -->
{media_bloq}
<div class="container">
{media_bloq:file_field}
<img src="{url}" />
{/media_bloq:file_field}
<!-- Or -->
<img src="{media_bloq:file_field:resize width='90' height='90'}" />
<!-- Or -->
{media_bloq:file_field:webp}
<img src="{url}" />
{/media_bloq:file_field:webp}
<!-- Or -->
<img src="{file_field}" />
</div>
{/media_bloq}
{/my_bloqs_field}
{/exp:channel:entries}Last updated