Jump to content

Conditional to show/hide section in blog page

Recommended Posts

I'm looking to show/hide a section on a blog landing page based on the category being viewed. Has anyone done this? any ideas? 

For example. When a user visits "/blog?category=Podcast" I want to show a specific section at the top of the page. If that category parameter is not passed then I want to show a standard section at the top and hide the "podcast" section.

Any input is appreciated.

Link to comment
  • Replies 1
  • Views 1.1k
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.