Use is_in_editor to Add Inline Comments and Notes Only in the HubSpot Editor [code snippet]

Category: Code Snippets

As a HubSpot CMS developer, you sometimes need to add some contextual information in templates to make it easier for content editors to know where and how to edit things. Add the code below into a template to display help text only when editing the HubSpot template. {% if is_in_editor %} <style>.hseditor-help {background:#FFFFE0;padding:1rem;text-align:center;}</style> <div class=”hseditor-help”> […]

Continue Reading

How to Format a Phone Number in HubSpot CMS HubL

Category: Code Snippets

I was recently working on a custom HubSpot quote theme and needed to format the phone number. By default, the number was displayed as a long string of numbers without any parenthesis or number groupings. The code below uses a HubL to display a subset of the full string in the chunks you need it […]

Continue Reading

Google Data Studio Bubble Chart of SEO Improvement Opportunities

Category: Articles

The Google Search Console blog recently shared a free template to import your Google Search Console data and plot the search queries in a bubble chart. Why would you want to do this? Because it visually helps you know what is actionable in optimizing organic search keywords and pages. The larger the bubble the higher […]

Continue Reading

HubSpot HubL Code Snippet Collection – Filters, Functions, and Macros

Category: Code Snippets

Below is a list of my commonly used HubSpot CMS HubL filters, functions, and Macros. Email me if you have one you would like to add to this list. Create a slug from a text string I used this when I wanted to add a CSS class name to the li of a menu using […]

Continue Reading

Top Industrial & Manufacturing Trade Shows / Conferences 2023

Category: Articles

Are you looking for a list of industrial or manufacturing trade shows or conferences to attend this year? This page lists the manufacturing trade shows I could find for 2023. Contact me if you have one you would like to add to the list. Summer 2023 Industrial & Manufacturing Trade shows Advanced Manufacturing Expo 09 […]

Continue Reading

FAQ Schema Microdata Code Snippet

Category: Code Snippets

Below is a FAQ microdata schema code template you can copy and paste and add to your page HTML. You would repeat the .faq-question div block for each QA answer set. Once you are done adding your markup you can test it in the Google schema tester. If you are using WordPress, I noticed the […]

Continue Reading