1616 ❤

WP: Attachment Image Source

In the name of Allah

Twitter Card Data

<meta name="twitter:image:src" content="<?php $large_image_url = wp_get_attachment_image_src( get_post_thumbnail_id(), 'large' ); echo $large_image_url[0]; ?>"/>

Open Graph Data

<meta property="og:image" content="<?php $medium_image_url = wp_get_attachment_image_src( get_post_thumbnail_id(), 'medium' ); echo $medium_image_url[0]; ?>" />

Leave a Reply