How to Remove HubSpot CTA Button Strings in HubSpot to WordPress Migration
Category: Code Snippets
When migrating a HubSpot blog to WordPress or another CMS you will often find text strings in your articles that look like this {{cta(‘4cdfhg-a57e-dfh-dfh-5c6dfhgdfhdfgc’,’justifycenter’)}} Most likely you are going to replace those with a new button pointing to a landing page but that takes time to update. Also doing a database find and replace would work […]
WP All Import Export Subset of Posts by Slug Array [code snippet]
Category: Code Snippets
When performing a WordPress blog migration you sometimes just need to export a certain number of posts vs the entire collection. The easiest way I have found to do this is by performing a custom query using the list of posts by their url slug. // WPQuery args for slugs – create array fro list […]
According to HubSpot, What is the First Stage Action of Inbound Marketing?
Category: Common Questions
Attract: drawing in the right people with valuable content and conversations that establish you as a trusted advisor with whom they want to engage. Learn more about Inbound Marketing methodology.
Where can you view all of your downloaded HubSpot templates and modules?
Category: Common Questions
If you download a HubSpot theme or module from their marketplace there is a spot for you to manage these assets. You can update them, reinstall, or write a review. Below are two ways to find this purchase management panel Option 1 – HubSpot Asset Marketplace Homepage Visit the HubSpot marketplace homepage and click the […]
WordPress vs HubSpot CMS Review
Category: Common Questions
Written by Jake Lett, Freelance HubSpot Developer at Bootstrap Creative. Updated for 2026. One of the most critical decisions for a B2B business is where to host its website. Some companies with an internal IT team prefer to self-host their CMS using open-source software like WordPress because they require custom server configurations. However, a growing […]
What are the Best Image Size Dimensions for Responsive Web Design?
Category: Common Questions
When building image carousels, jumbotrons, or full background sections you will often need to properly size an image. Below are some recommendations based on the most common device screen sizes and if you are using parallax or fixed background images. Desktop (1920×1080) 2000px x 360px, 4000px x 720px (retina) Parallax (images need to be as […]
Embed HubSpot Form in WordPress, Customize CSS, and Hide Fieldset Margins on Hidden Fields [code snippet]
Category: Code Snippets
When you embed a HubSpot form on an external site you can add css: ‘ ‘ to the embed code to remove the default form styles. If you have hidden fields the fieldset could have a margin or padding applied from your website stylesheet. This is common because you want a fieldset to have some […]
WooCommerce Product Category and Terms Select Filters [code snippet]
Category: Code Snippets
The code below will help you add a form select filter for Woocommerce online shop on WordPress. <?php $categories = get_terms( [‘taxonomy’ => ‘product_cat’, ‘hide_empty’ => true] ); ?> <div class=”product-categories”> <h3>Categories</h3> <select class=”form-control shop-filter” onchange=”location = this.value;”> <option selected value=”/shop/”>All</option> <?php foreach ( $categories as $category ) { ?> <option value=”<?php echo get_term_link( $category->term_id […]
How to Remove Default HubSpot CTA Styles
Category: Code Snippets
HubSpot allows marketers to create custom styled CTA buttons. This can be a problem if you have a large team who may not know how to follow brand guidelines. This creative freedom can make buttons look inconsistent across your website. You could educate all of your users to never create custom styles. Or you could […]
Add Custom Info Widget to WordPress Admin Dashboard [code snippet]
Category: Code Snippets
The snippet below helps you customize the default WordPress admin dashboard. Sometimes the dashboard contains too much information and you want to simplify it for you or your clients. The code below will help you hide existing widgets and add a custom one. In this example I added a user guide to help new users […]