• Resolved ourrecipeforlife

    (@ourrecipeforlife)


    I posted this in the lifestyle theme forum but didn’t get a reply, can anybody help?
    I am trying to use the plugin Easy Digital Downloads. It appears the featured image does not show when using the Lifestyle Theme. I have searched for a solution and it was suggested adding code to the functions.php file to make thumbnails show. I tried this but it still didn’t work. Is it possible for you to highlight to me how and when the featured image is turned on? It appears it is used on the main blog page for posts but won’t work with this plugin. When I click on the Screen Options Featured Imagine isn’t even shown? Thanks, I hope you can help as I don’t want to have to change theme.

Viewing 1 replies (of 1 total)
  • Insert below code into functions.php will solve your issue.

    add_action( 'omega_entry', 'lifestyle_edd_featured_image' );
    
    function lifestyle_edd_featured_image() {
    	if ( 'download' == get_post_type() )  {
    		if ( has_post_thumbnail() ) {
    		  the_post_thumbnail();
    		}
    	}
    }

    Please note that lifestyle theme is not created specifically for EDD. So you need to make some customization

Viewing 1 replies (of 1 total)
  • The topic ‘Life Style theme – plugin not working Easy Digital Download’ is closed to new replies.