WordPress.org

Ready to get started?Download WordPress

Forums

Multiple Featured Images
Adding featured images for multiple post types (3 posts)

  1. marcusjwilson
    Member
    Posted 2 years ago #

    Hi -

    What is the best way of adding multiple featured images for posts, pages and a range of custom post types? Using the following doesn't work for me:

    'post_type' => array('post','page','eiff_events','eiff_people')

    Thanks
    Marcus

    http://wordpress.org/extend/plugins/multiple-featured-images/

  2. hannaranden
    Member
    Posted 2 years ago #

    I'm also wondering how to do that, and also how to add image size ?!

    Thanks!

  3. antwortzeit
    Member
    Posted 2 years ago #

    I found myself struggling with the same problem and found some kind of workaround. You can register the same kdMultipleFeaturedImages-ID again and again with different post types. So you've got no problem handling the images in the backend.

    To display them in your template, you just have to put your post_type into a variable. Check this pastebin:

    http://pastebin.com/iE1ciZ4r

    Hope this helps someone.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic