Remove one element from a blog template

Hi,

I’m designing a blog template right now. I want to include a “subscribe” element to the template so this shows up on every blog post. However, there are one or two blog posts where I do NOT want this subscribe element. How do I do this?

Thanks!

1 Like

Conditional visibility.

You’d add a switch field to the blog collection, like “Show subscribe option?”, and then display the element only when that’s switched on.

Thanks Michael. I was reading about this and hoping that I wouldn’t have to set this up because there are only a couple of instances where I don’t want the subscribe option to show up. I’ll give this a shot.

The easier way might be “Hide subscribe option?”, and show the section only when that’s switched off ( which is the default ).