Hi,
I am displaying all posts of a cpt of the current author. One field is the related_product_id.
I am showing the thumbnail of that related_product_id.
It's working, but I would like to show a bigger size, actually like the post.thumbnail.medium definitions.
This is the code:
{% set user_ID = mb.get_current_user_id() %}
{% set args = { post_type: 'mybundle', post_status: 'private', posts_per_page: -1, author: user_ID } %}
<div class="sub_container">
{% set posts = mb.get_posts( args ) %}
{% for post in posts %}
<div class="sub_item">
{% set post_link = mb.get_permalink( post.ID ) %}
<a href="{{ post_link }}">{{ mb.get_the_post_thumbnail( post.related_product_id, 'thumbnail' ) }} </a>
<h3><a href="{{ post_link }}">{{ post.post_title }} </a> </h3>
</div>
{% endfor %}
</div>
How to get the thumbnail bigger??