HubSpot CMS Site Search Input Module Override

Get a Free HubSpot CMS Guide
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 %}

Related resources

  • HubSpot CMS vs WordPress: Feature Comparison and Review
  • 25+ Questions to Ask Before Redesigning Your Business Website
  • 5 Things A Business Should Consider Before a Website Redesign
  • How to Get a Responsive Website for Your Manufacturing Company
  • What Is a Good WordPress Alternative for Businesses?
  • Tags: ,

    Want to Get Email Updates of New Posts? Join My Email Newsletter