Title: [Plugin: Custom Content Type Manager] thumbnail support
Last modified: August 20, 2016

---

# [Plugin: Custom Content Type Manager] thumbnail support

 *  Resolved [natcl](https://wordpress.org/support/users/natcl/)
 * (@natcl)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-custom-content-type-manager-thumbnail-support/)
 * Is it possible to have thumnail (ie featured image) support for Custom posts ?
   
   I read on a forum that it’s possible by adding this to functions.php :
 * add_theme_support( ‘post-thumbnails’, array( ‘post’,’custom-post-type-here’,’
   another-custom-post-type’ ) );
 * That I can do, but it seems that it is also required to specify thumbnail support
   when registrering the custom post type:
    ‘supports’ => array( ‘title’, ‘editor’,‘
   comments’, ‘excerpt’, ‘custom-fields’, ‘thumbnail’ ),
 * I assume this needs to be done by CPTM
 * Thanks !
 * [http://wordpress.org/extend/plugins/custom-content-type-manager/](http://wordpress.org/extend/plugins/custom-content-type-manager/)

Viewing 15 replies - 1 through 15 (of 15 total)

 *  Plugin Contributor [fireproofsocks](https://wordpress.org/support/users/fireproofsocks/)
 * (@fireproofsocks)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-custom-content-type-manager-thumbnail-support/#post-2563800)
 * That’s already implemented:
 * 1. Create/edit a custom post type under the CCTM –> Custom Content Types menu.
   
   2. Head to the “Fields” tab 3. Check the “Page Attributes” checkbox 4. Check 
   the “Thumbnail” box
 * It’s currently dynamically hidden (which was a dumb UI choice on my part), so
   it’s hard to find. I’m trying to make it grey out instead of hiding it completely.
 * You’ll still have to add the add_theme_support() function to your themes, though.
   When you register the post-type, adding thumbnail support just means you get 
   that option displayed in the Page Attributes meta-box, but your theme needs the
   add_theme_support() stuff in order to be able to actually use that info.
 *  Thread Starter [natcl](https://wordpress.org/support/users/natcl/)
 * (@natcl)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-custom-content-type-manager-thumbnail-support/#post-2563812)
 * Ahhh nice, now everything works nicely, thanks a lot !
 *  Plugin Contributor [fireproofsocks](https://wordpress.org/support/users/fireproofsocks/)
 * (@fireproofsocks)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-custom-content-type-manager-thumbnail-support/#post-2563834)
 * You’re welcome.
 *  [zoomzoom2](https://wordpress.org/support/users/zoomzoom2/)
 * (@zoomzoom2)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-custom-content-type-manager-thumbnail-support/#post-2564102)
 * Hi,
 * How can I display thumbnails in CCTM lists (like in ths summarize widget), where
   the thumbnail has not been selected via custom fields but via the wordpress thumbnail
   box? I assume that there is not a specific placeholder but is there aby possibility?
 * thanks
 *  Plugin Contributor [fireproofsocks](https://wordpress.org/support/users/fireproofsocks/)
 * (@fireproofsocks)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-custom-content-type-manager-thumbnail-support/#post-2564105)
 * If you are using the built-in “Featured Image” on your posts, then what you’re
   actually doing is using a “standard” WordPress custom field, whose name is “_thumbnail_id”.
   The Summarize Posts query will include that data and it will return 2 bits of
   data for you: thumbnail_src and thumbnail_id (that’s more useful in the PHP invocations,
   not for shortcodes). You can manipulate your formatting string to use the thumbnail_src
   attribute. If you’re using the shortcode, you can do something like:
 *     ```
       [summarize_posts]
       [+post_title+]
       <img src="[+thumbnail_src+]" />
       [/summarize_posts]
       ```
   
 * Remember that if you ever wonder what placeholders are available to you, use 
   the `[+help+]` placeholder and you’ll get a list of all available placeholders.
 * Hope that helps.
 *  [zoomzoom2](https://wordpress.org/support/users/zoomzoom2/)
 * (@zoomzoom2)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-custom-content-type-manager-thumbnail-support/#post-2564106)
 * tahnks a lot it works great!
 *  [jumust](https://wordpress.org/support/users/jumust/)
 * (@jumust)
 * [14 years ago](https://wordpress.org/support/topic/plugin-custom-content-type-manager-thumbnail-support/#post-2564129)
 * Hi,
    I checked the “Page Attributes” and the box “thumbnail” also added to functions.
   php `add_theme_support( 'post-thumbnails', array( 'post','arte-antichita','turismo'));`
 * But in the custom post admin I can only see the Attribute box with Sorting field…
   no featured image.
 * My theme displays the featured image in posts with
    `<a href="<?php the_permalink();?
   >"><?php the_post_thumbnail('blog-post');?></a>`
 * so somewhere there should be post-thumbnails registered but can’t find.
    Any 
   idea how to solve this?
 *  Plugin Contributor [fireproofsocks](https://wordpress.org/support/users/fireproofsocks/)
 * (@fireproofsocks)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-custom-content-type-manager-thumbnail-support/#post-2564145)
 * Sorry for the delayed response, I was not receiving notifications from WP 🙁
 * Not sure what you’re referring to by “custom post admin”… you mean when you’re
   viewing a list of posts, e.g. @ [http://yoursite.com/wp-admin/edit.php?post_type=your_post_type](http://yoursite.com/wp-admin/edit.php?post_type=your_post_type)?
 * If there’s a bug, please file it in the bug-tracker: [http://code.google.com/p/wordpress-custom-content-type-manager/issues/list](http://code.google.com/p/wordpress-custom-content-type-manager/issues/list)
 *  [circa1978](https://wordpress.org/support/users/circa1978/)
 * (@circa1978)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/plugin-custom-content-type-manager-thumbnail-support/#post-2564178)
 * Trying to get the post-thumbnails metabox to show up on a custom post type I 
   created through the plugin. I have added the following line to my functions.php
 * `add_theme_support( 'post-thumbnails', array( 'course' ) );`
 * Where course represents my custom post type. Them then enabled post-thumbnails
   as described above. I only see the page attributes metabox, not the featured 
   image metabox on the post editing page.
 * If I add a built in post type to the add theme support line above, I get the 
   thumbnail metabox on the edit screen. It just fails on the custom post types 
   created from the plugin. Am I missing something or is this a bug?
 *  Plugin Contributor [fireproofsocks](https://wordpress.org/support/users/fireproofsocks/)
 * (@fireproofsocks)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/plugin-custom-content-type-manager-thumbnail-support/#post-2564179)
 * Did you ensure that your Screen Options are set to display the Featured Image
   as pictured here: [http://screencast.com/t/Gop7I45W0](http://screencast.com/t/Gop7I45W0)
 *  [circa1978](https://wordpress.org/support/users/circa1978/)
 * (@circa1978)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/plugin-custom-content-type-manager-thumbnail-support/#post-2564180)
 * Wow, thanks for the quick reply. Unfortunately, it doesn’t show up there. I see‘
   Attributes’ but no ‘Featured Image’.
 * I just doubled checked all the settings.
    1. My custom post type is called simply ‘course’
    2. I have added the following line to functions.php add_theme_support( ‘post-thumbnails’,
       array( ‘course’ ) );
    3. I have enabled Thumbnails in the Fields settings of my post type course
 * I think that is all that needed to be done to make it show up, but it doesn’t
   show on the edit page and isn’t listed in the screen options of the edit page.
 *  Plugin Contributor [fireproofsocks](https://wordpress.org/support/users/fireproofsocks/)
 * (@fireproofsocks)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/plugin-custom-content-type-manager-thumbnail-support/#post-2564181)
 * Hmm… Don’t know what to tell you… I don’t think it’s a bug (I can’t reproduce
   the issue)… I would try disabling all other plugins and try using a default WP
   theme to see if the problem continues (WP themes can be equivalent to plugins,
   so they’re just as likely to be culprits in messing up expected behavior).
 * When you click on the CCTM’s “Report a Bug” link, there’s a big box of useful
   info there that can help me troubleshoot environment issues.
 *  [circa1978](https://wordpress.org/support/users/circa1978/)
 * (@circa1978)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/plugin-custom-content-type-manager-thumbnail-support/#post-2564182)
 * Figured it out. I was using a child theme and there was a conflicting “add_theme_support”
   in the parent theme. Once I added my custom post type to the add_theme_support
   function in the parent theme, it showed up in the child theme. Thanks for your
   help and speedy replies. I’ll send you a paypal thank you, hopefully others who
   get your help will do the same. Thanks.
 *  Plugin Contributor [fireproofsocks](https://wordpress.org/support/users/fireproofsocks/)
 * (@fireproofsocks)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/plugin-custom-content-type-manager-thumbnail-support/#post-2564183)
 * Ah, Child Themes… my nemesis. Glad you got it figured out. Donations are always
   appreciated!
 *  Plugin Contributor [fireproofsocks](https://wordpress.org/support/users/fireproofsocks/)
 * (@fireproofsocks)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/plugin-custom-content-type-manager-thumbnail-support/#post-2564186)
 * Marking this as resolved.

Viewing 15 replies - 1 through 15 (of 15 total)

The topic ‘[Plugin: Custom Content Type Manager] thumbnail support’ is closed to
new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/custom-content-type-manager_c9c790.
   svg)
 * [Custom Content Type Manager](https://wordpress.org/plugins/custom-content-type-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/custom-content-type-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/custom-content-type-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/custom-content-type-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/custom-content-type-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/custom-content-type-manager/reviews/)

 * 15 replies
 * 5 participants
 * Last reply from: [fireproofsocks](https://wordpress.org/support/users/fireproofsocks/)
 * Last activity: [13 years, 5 months ago](https://wordpress.org/support/topic/plugin-custom-content-type-manager-thumbnail-support/#post-2564186)
 * Status: resolved