Replies: 0
Hi everyone,
Does anyone have an idea on how to get the Yoast Facebook share image to use in another plugin to display Yoast image rather than thumbnail in a list of posts I’m making?
I currently have this but would like to get the Yoast Facebook share image instead, just can’t figure out which method to use:
$get_thumbnail = (strtoupper($order) == ‘ASC’) ? get_the_post_thumbnail(reset($qposts)->ID, ‘full’) : get_the_post_thumbnail(end($qposts)->ID, ‘full’);
$output .= ‘<div class=”comic-thumbnail”>’.get_the_post_thumbnail($qpost->ID, ‘full’).'</div>’.”\r\n”;
Cheers!