If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #7368

    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?!

    Thanks!

    Michele

    #57678

    Hey,

    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?

    #57679

    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/ (Purchase code hidden if logged out) -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 ?!

Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘How to get Featured Media Links’ is closed to new replies.