HubSpot CMS Site Search Input Module Override


HubSpot CMS Site Search Input Module Override

HubSpot provides a default module to perform a site search. By default it searches website pages and blog posts. But what if you want to override this and only search blog posts? Below is an embed snippet to help you do just that.

Usage Snippet Verbose Example

{% module 'site_search' path='@Hubspot/search_input',
label='Search',
content_types={
'website_pages': False,
'landing_pages': False,
'blog_posts': True,
'knowledge_articles': False
},
include_search_button=True,
placeholder='placeholder',
field_label='label'
no_wrapper=True %}

Written by: Jake Lett
Jake Lett is a results-driven B2B marketing consultant with 15+ years of experience helping businesses boost online visibility, generate qualified leads, and increase sales. Specializing in SEO, HubSpot, and PPC campaign management, Jake leverages proven strategies to deliver measurable growth. As a Certified Google Ads Specialist and HubSpot Developer, he is committed to driving impactful results for his clients.

Related posts

Tags: ,

Want to Get Email Updates of New Articles?

Join My Email Newsletter