get_the_post_thumbnail & $post_id
I am currently using the
get_the_post_thumbnail( $post_id, $size, $attr );
To create a thumbnail for each topic on my forum index page.
I would like to be able add the same thumbnail to posts within that topic.
Can I use $post_id to reference the post topic? Is this a parent/child relationship?
get_the_topic_thumbnail( $post_id, $size, $attr );
- You must be logged in to reply to this topic.