How to Have a HubSpot Menu Load the Default Menu When Transferring to Another Account


How to Have a HubSpot Menu Load the Default Menu When Transferring to Another Account

Problem: When transferring a HubSpot theme or template file to another portal global module’s menu disappears. The code snippet below sets the default menu tag to pull a default if it is not selected.

{% set menu = module.menu is truthy ? menu(module.menu) : menu('default') %}
{% menu "menu" %}

 


Written by: Jake Lett
Jake Lett is a B2B marketing consultant with over 15 years of experience in the digital marketing industry. He specializes in SEO, HubSpot, and PPC campaign management. Jake has a proven track record of helping businesses increase their online visibility and drive more traffic, leads and sales. He is a Certified Google Ads Specialist and a Certified HubSpot Developer.

Related posts

Tags: , ,

Want to Get Email Updates of New Articles?

Join My Email Newsletter