Dam buster & Featured Image removal

Hi,

I created a page, gave it a URL, and the page is exactly what I want. It’s live, but here’s a screen shot.

Landing page working properly

When I go into the WordPress Settings Dashboard, over to Reading, and make this page the home page, the page displays differently:

Why is the featured image block there when I have it turned off by the Dambuster plugin?

I have the latest version of Dambuster installed, and am using Genesis with a custom theme based on the Balance child theme. In Dambuster, I have “above content” “remove post image” checked.

Advice on where to look to get that grey box removed?

Hey David,

I’m going to leave this out for the community. You can also try posting the same question over to the FB Group and/or our Slack Channel. We’ve a lot of active users there. :slight_smile:

Ben

Thanks.

What’s the slack connect info? Can you invite me?

Hey David,

Just click the link below and you’ll get to the invitation page. :slight_smile:
http://beaverbuilders.herokuapp.com/

Ben

Hi David,

Genesis Dambuster is designed to run on pages, posts and custom posts, but not on the home page.

So Dambuster will operate on your sales page when it is a normal page on the site but not when you set your page as the static home page.

I will look into enhancing Dambuster so it also operates on static home pages for the next release. On the face of it, it should be a relatively straightforward change.

Thanks for bringing this to my attention.

Hi Elizabeth,

Hmm, Dambuster is doing it’s thing just fine on my home page :slight_smile:

http://snifflevalve.com

It’s enabled and I have it remove the header, but leave the footer and primary nav. It is also providing the edge-to-edge rows that are in use.

The page is put together in BB and is running on Genesis + Dynamik Website Builder.

Just now to test, I disable the primary nav and footer, refreshed and there they were gone :slight_smile: Enabled again and yep, back again.

Maybe it’s a DWB ‘thing’ that it works on the home page; I’ll try it on a different Genesis theme.

Cheers!
Lyle

UPDATE:

Tried the Enterprise Pro and the basic Genesis themes and GDB worked on them both for the home page :slight_smile:

Thank you Elizabeth.I always am amazed at the quality of some free software and how people like yourself still manage to pay attention and support/improve it!

I will add, that I noticed after I sent you the email on your website that the Balance Child Theme is not on the supported list. It is, of course, the child theme I’m using.

If it helps you to have access to my site to see what’s happening, I’m happy to provide it.

David

LOL! Well, the Beaver Builder developers are a bunch of fabulous chaps. Not all developers are created equal and to us, those guys are amazing as after they reviewed our plugin, they welcomed our efforts. We are grateful for that.

We don’t mind adding support for Balance. We didn’t want to support the older themes if no-one was using them. But you are … so we will. :slight_smile:

I didn’t realize it was older. I’ve been called old a lot lately… though, true story, I was the youngest guy in the emergency room recently. They treated me like a kid.

Thanks!

I’m going to look into it and get it solved outside of the plugin. Seems fastest / easiest.

Lyle - It does seem to be because the child theme David was using isn’t supported. However we’ll fix that. Thanks by the way for your support here and elsewhere.

David - The StudioPress Balance child theme was in fact last updated in Feb 2012. Balance out of the box does not actually have featured images below the header. Your version of Balance must be customized to add the image. The featured image insertion is a characteristic of the old version of Minimum. Your theme is probably a Balance/Minimum hybrid. Unfortunately we cannot support custom themes unless it is paid work.

Dambuster kills the post_image at the ‘genesis_post_content’ hook (for non HTML5 themes). As a result your sales page works when running as a normal page, but not when running as the home page.

If your customization is similar to the Minimum Theme then the image insertion on the home page happens at the ‘genesis_after_header’ hook.

The code you need to remove the featured image will be something like the following but with the correct function name replacing ‘minimum_featured_image’:


add_action('genesis_dambuster_remove_post_image', function() { remove_action( 'genesis_after_header', 'minimum_featured_image'); } );

Hope that helps.

Also note that we will be updating Dambuster to ensure it runs on static home pages.

Thanks! You clearly have gone above & beyond.

David