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

Download FREE HubSpot CMS Guide
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
I share digital marketing tips and HubSpot tutorials to help marketers and business owners grow their business.


Related posts

Tags: , ,

Want to Get Email Updates of New Articles?

Join My Email Newsletter