Get full size Featured image link
-
Hi, i have this code in my header.php
<meta property="og:image" content="<?php if (function_exists('wp_get_attachment_thumb_url')) {echo wp_get_attachment_thumb_url(get_post_thumbnail_id($post->ID, 'large')); }?>" />
But is returning this html code:
<meta property="og:image" content="https://xxxxxxxxx/wp-content/uploads/2013/08/featured98-620x360617-150x150.jpg" />
Is getting the 150x150px image.. and i want the full size image, can you guys help me on this?
- The topic ‘Get full size Featured image link’ is closed to new replies.