skapaid
Forum Replies Created
Viewing 3 replies - 1 through 3 (of 3 total)
-
Forum: Plugins
In reply to: [Download Monitor] Featured Images disappearingplease note i Tried adding dlm_download to the post types in my themes function as well….. still doesnt work
Forum: Plugins
In reply to: [Download Monitor] Featured Images disappearingi am still having this problem……
my current theme has the following function…..// Add Thumbnail support if (function_exists('add_theme_support')) { // Adding thumbnail support to all post types. add_theme_support( 'post-thumbnails', array( 'store', 'dlm_download', 'service', 'album', 'mixtape', 'merch', 'photos', 'video' , 'download' , 'homebanner', 'post' ) ); add_image_size('storeimage', 200, 200, true); //Store homepage Thumbnails add_image_size('beat_page', 160, 160, true); // Single beat page add_image_size('photo', 200, 200, true); // Thumbnail image add_image_size('photowidget', 165, 165, true); // Thumbnail image add_image_size('videowidget', 270, 151, true); // Thumbnail image add_image_size('photobig', 570, 570, true); // Image for single page add_image_size('videoimage', 273, 200, true); // Video Gallery Homepage Thumbnails add_image_size('homebannerimage', 920, 350, true); //Homepage Banner Image add_image_size('featuredimage', 580, 250, true); //Post Featured image Image 580x250 }and your plugin has this function….
public function compatibility() { // Post thumbnail support if ( ! current_theme_supports( 'post-thumbnails' ) ) { add_theme_support( 'post-thumbnails' ); remove_post_type_support( 'post', 'thumbnail' ); remove_post_type_support( 'page', 'thumbnail' ); } else { // Get current supported $current_support = get_theme_support( 'post-thumbnails' ); // This can be a bool or array. If array we merge our post type in, if bool ignore because it's like a global theme setting. if ( is_array( $current_support ) ) { add_theme_support( 'post-thumbnails', array_merge( $current_support, array( 'dlm_download' ) ) ); } add_post_type_support( 'download', 'thumbnail' ); } }HOW…… could i alter one or the other so that they dont interfere with each other
Forum: Plugins
In reply to: [Download Monitor] Featured Images disappearingim having the same problem and im on the newest version 1.6.3 ..
when i activate plugin the featured image option disappears from all post types when creating new posts… when deactivate the plugin the option comes back
Viewing 3 replies - 1 through 3 (of 3 total)