Site logo

Archived topic

Exclude custom header content in search entry summary

21 replies · Started by stlayman on May 3, 2018

Viewing posts 16–22 of 22

The issue is you've disabled the header, and you're using a Beaver Builder element as your header inside the content area.

If you remove that BB element from the content area, and add it as your actual site header (Before Header hook in GP Hooks), then it should look the same, and not be included in search results.

Let me know if that makes sense or not :)

Hi Tom, yes, the BB node is only used on the blog posts, and uses the same one, so that's working fine.
The pages use different headers, so I would need to create around 6 different custom page headers, and edit around 70 pages to include the correct header. (and remove the BB content from the pages) Maybe something to do in my spare time!

Ah, that's a pain. So right now how are the headers applied to the pages? Just within the content editor?

Yep. For all the pages, I'm using a BB saved global row and swapping out the images and text overlays, then disabling the header / featured image within the editor page.

I believe the only way to prevent the content from appears in the excerpt is to add it to the actual header unfortunately, instead of the page. Beaver Builder might have a trick, but I'm not sure.

This is true Tom - and they have no way to block a node from search (they said). Thanks a million :)

No problem - sorry I couldn't be more helpful!

This archived topic is closed to new replies.