PostCard
1.1.0
Requires Celeste 1.1.0
Hey World
Read full Hey World post
Exploring the Wonders of Nature
Read full Exploring the Wonders of Nature postInstall or Update
wp celeste pull component PostCard
Dependencies will automatically be installed.
How to use it
<!--
Usually you'd get this from the database or
an ACF field.
Example:
$post_ids = get_posts( [
'post_type' => 'post',
'fields' => 'ids'
] );
-->
{% set ids = [2159, 2157, 2155] %}
<div class="grid gap-sm md:grid-cols-3">
{% for id in ids %}
<PostCard :id="id" />
{% endfor %}
</div>