Forums

Meteor Slides
[resolved] Featured image for custom post type (8 posts)

  1. johangfx
    Member
    Posted 1 year ago #

    Hi!
    I have a problem with this plugin.
    Featured image doesn't work for custom post type when Meteor Slides plugin is installed. Any ideas?

    Thanks in advance
    Johan

    http://wordpress.org/extend/plugins/meteor-slides/

  2. JLeuze
    Member
    Posted 1 year ago #

    Hi Johan, could you clarify your problem? By the featured image not working, do you mean that the link to add a featured image isn't there at all? Or that you can add a featured image, but it doesn't show up on the site?

    When you install Meteor Slides, is the featured image for the slides not working, or is it breaking the featured image functionality on a different custom post type?

  3. johangfx
    Member
    Posted 1 year ago #

    Hi again!
    I can't add a feature image for another custom post type when Meteor Slides is installed.

    thanks again

  4. JLeuze
    Member
    Posted 1 year ago #

    Did you specify the other custom post type with an array when you added thumbnail support?

    Check out this Q/A from the FAQ:

    I have another custom post type that uses featured images, and when I install Meteor Slides, it disables the featured image box in my custom post type, what's up with that?

    Meteor Slides is setup to check for post thumbnail support and create an array with the slides post type and any other post types that are in use. But in order for that to work, your theme or plugin needs to specify any custom post types in an array.

  5. johangfx
    Member
    Posted 1 year ago #

    okey,
    So how do I "specify any custom post types in an array"?

    Thanks for the help!

  6. JLeuze
    Member
    Posted 1 year ago #

    So you are enabling featured images like this right?

    add_theme_support( 'post-thumbnails' );

    That enables featured images for posts and pages, and in some cases custom post types.

    To specify a certain post type you need to add an array:

    add_theme_support( 'post-thumbnails', array( 'customtype' ) );

    If you need featured images for posts or pages, add that to your array:

    add_theme_support( 'post-thumbnails', array( 'post', 'customtype' ) );

    For more info in featured images, check out this post by Mark Jaquith.

  7. geemeetheway
    Member
    Posted 11 months ago #

    @JLeuze : Great, this helps a lot!!!

  8. JLeuze
    Member
    Posted 11 months ago #

    No problem!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic