Hub DB
Create a Custom Module and past the Code and change the Hubdb table ID (847400).
{% set table = hubdb_table_rows(847400, queryparam)%}
{% if table == [] %}
<p class='align-center'>Sorry, no listings found for that Search. Try changing your fiter and search again.</p>
{% else %}
{% for row in table %}
<div class="team-member-card-container {{ widget.cards_in_row }}">
<div class="team-member-card">
<div class="image-container">
<img src="{{ row.image.url }}" width="500" {% if row.image.width > row.image.height %}class="landscape"{% endif %} alt="{{ row.name }} Headshot">
</div>
<div class="team-member-info">
<h3>{{ row.name }}</h3>
<h4>{{ row.title }}</h4>
<p>{{ row.description }}</p>
</div>
</div>
</div>
{% endfor %}
{% endif %}
Comments
Post a Comment