Skip to:
Content
Pages
Categories
Search
Top
Bottom

Problem with post-thumbnail on Custom Post Type


  • Chris Harrison
    Participant

    @cdharrison

    I’m having an issue getting Post Thumbnails (Featured Image) to display on a Custom Post Type I’ve created within a BuddyPress child theme. I’ve enabled them within the child theme, and they work fine on Posts and Pages, but nothing I’ve done works with regards to my Custom Post Type (Listings).

    Tried the generic approach, and just enabled them globally:

    add_theme_support( 'post-thumbnails' );

    Then I tried to specifically set the custom-type in an array:

    add_theme_support( 'post-thumbnails', array( 'post', 'page', 'listing' ) );

    Are there any known issues with Custom Post Types and their support for Post Thumbnails? Any idea how I might be able to get this to work?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Is it related to BuddyPress? If so, I can’t help.

    OTOH did you know TwentyTen displays thumbnails as replacement headers and not in the body of the post, a decision I challenged unsuccessfully. If the thumbnail isn’t the same size as the header, it won’t show anything at all! I still can’t fathom why anyone thought that made sense.

    II have some code to display a thumbnail in a Trac ticket but I can’t access it right now since I’m typing on my iPad and afraid I’ll lost this if I switch tasks and go looking for it. Just look for a thumbnail-related ticket under my name.


    Chris Harrison
    Participant

    @cdharrison

    It ended up being a plugin conflict. Specifically, it was due to problems with the BuddyPress Classifieds plugin.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Problem with post-thumbnail on Custom Post Type’ is closed to new replies.
Skip to toolbar