Get Yoast share image to use as a thumbnail in another plugin
-
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!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Get Yoast share image to use as a thumbnail in another plugin’ is closed to new replies.