I’m coding a custom wp plugin for my blog site http://techxd.net that uses Shoutbox Magazine WP Theme and I need to get the featured media linkof a post. How can do it?! Is there a sql field inside the wp database?!
maybe I’m wrong but I’m not aware of a “featured media link”. You can get the link to the post (permalink) or you can get the links to all images/attachments to this post (attached featured images). What would you like to have?
When I write a new post I can add a featured media, as you know :) . I want to get dynamically the full path of the image I added, from the wordpress database with a query. Ex:
This is one of my post http://www.techxd.net/blog/2011/12/infinity-blade-2-finalmente-disponibile-su-itunes-store/ and I want to take the url of the banner image like http://www.techxd.net/blog/wp-content/uploads/2011/07/banner-IB21.png
My goal is to get, from WP database and for each posts, the banner image URL.
How can I do it ?!
The topic ‘How to get Featured Media Links’ is closed to new replies.