WordPress.org

Support

Support » Plugins and Hacks » Multiple Post Thumbnails » [Resolved] [Plugin: Multiple Post Thumbnails] URL of custom size thumbnail

[Resolved] [Plugin: Multiple Post Thumbnails] URL of custom size thumbnail

Viewing 2 replies - 1 through 2 (of 2 total)
  • Too long night, sorry.

    $custom = MultiPostThumbnails::get_post_thumbnail_id('post', 'secondary-image', $post->ID); $custom=wp_get_attachment_image_src($custom,'post-secondary-image-thumbnail'); echo $custom[0];

    Thanks for this snippet.. been looking for this 🙂

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] [Plugin: Multiple Post Thumbnails] URL of custom size thumbnail’ is closed to new replies.
Skip to toolbar