Hi, Metabox. I would like to ask how can I filter posts based on a category? Right now it's not rendered from the archive "work" page. It's a normal page and it's showing the post but the problem is there's is no plugin that can filter for non-archive pages. Do you have any snippets of code where I can filter the post type "work" by category? Thanks.
{% set args = { post_type: "work", posts_per_page: 6 } %}
{% set posts = mb.get_posts( args ) %}
<div class="work-grid">
{% for post in posts %}
<div class="grid__item">
{{ mb.get_the_post_thumbnail( post.ID, 'large') }}
</div>
{% endfor %}
</div>