Viewing 15 replies - 16 through 30 (of 33 total)
  • I am on a Studiopress child theme (Education) using the Genesis framework.

    Add widget thumbnail in the sidebar is not displayed v1.7.0 theme u-design

    Workaround, comment out completely /wp-content/plugins/download-monitor/includes/class-wp-dlm.php
    line 167-191

    /**
    	 * Add Theme Compatibility
    	 *
    	 * @access public
    	 * @return void
    	 */
    	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' );
    		}
    	}

    Additional information: all plugins deactivated – featured image is there. Only DLM activated: featured image has gone. Standard theme activated: featured image always visible.
    Seems to be an issue with my theme. But it did not occur in the beginning. What has changed?

    Hi I have the same problem where the featured image option disappears and after installing a new version of the theme and deactivating all plugins, then enabling one by one, I have found that the download manager plugin is the cause. I am using 1.7.0. As a workaround for now, I have deactivated the plugin in order to set a featured image then reactivated it again.

    Plugin Contributor Barry Kooij

    (@barrykooij)

    I’m going to recheck why this was added because it appears to cause more problems than help people.

    Hi,
    anything new? Still issues with your plugin ;-(

    fl

    i have the same issues
    wordpress version: 4.2.2
    Download Monitor version: 1.7.2
    Theme: bones

    Ricardo

    (@ricardopires)

    Hi folks!

    Think I’ve found the solution.

    Around line 182 of wp-content/plugins/download-monitor/includes/class-wp-dlm.php, after this:

    $current_support = get_theme_support( 'post-thumbnails' );

    Put this:

    if(is_array($current_support[0])) $current_support = $current_support[0];

    Then the code should be like this:

    // Get current supported
    			$current_support = get_theme_support( 'post-thumbnails' );
    			if(is_array($current_support[0])) $current_support = $current_support[0];

    Barry Kooij, maybe this could be considered in the next plugin update, so we don’t need to edit plugin core files. ??

    Regards,
    Ricardo Pires – RP Desenvolvimento.

    Ricardo, you made it!

    Seems to work: Plugin is active AND featured images can be added.

    Thanks for your work, saved me a lot of time, because now I do not have to look for another download plugin.

    Regards,
    fl

    Plugin Contributor Barry Kooij

    (@barrykooij)

    Thanks for the update, I will include this in the next update!

    Ricardo

    (@ricardopires)

    Ricardo, you made it!
    
    Seems to work: Plugin is active AND featured images can be added.
    
    Thanks for your work, saved me a lot of time, because now I do not have to look for another download plugin.
    
    Regards,
    fl

    fieseline, I’m glad to know that I could help.

    Thanks for the update, I will include this in the next update!

    Nice Barry, thanks!

    Jeremy

    (@jeremybrookswebcoretechcom)

    I tried the above fix, but I’m still not seeing the featured image box when my theme “Super” is active. Works when the default theme is in place. Any other suggestions?

    Plugin Contributor Barry Kooij

    (@barrykooij)

    This should be fixed in the next release which I hope to release this week!

    Hi to all,
    update came, but nothing changed! My manually changed file according to Ricardo was overwritten and still no featured image in my theme.

Viewing 15 replies - 16 through 30 (of 33 total)
  • The topic ‘Featured Image Disappears’ is closed to new replies.