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 […]

Continue Reading

How to Redirect WWW to non WWW WordPress [htaccess snippet]

Category: Code Snippets

Below are two code recipes for your htaccess file to redirect different versions of your domain. Once you have things added you can use this redirect testing tool to verify all the versions of your domain are redirecting properly.

Continue Reading

HubSpot CMS Site Search Input Module Override

Category: Code Snippets

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.

Continue Reading

How to Get a Wistia Video Thumbnail Without the API

Category: Code Snippets

Wistia video provides some handy embed codes for your videos but what if you want to create a custom player or use the thumbnail image by itself. You can use their API but the setup could me more complicated than you need. Thankfully Wistia provides Oauth url’s used in WordPress to grab the data for […]

Continue Reading

How Do You Change the Primary Domain in HubSpot CMS?

Category: Common Questions

If you are looking to rebrand your website and change its domain there are a few steps you can take. You will most likely land on this HubSpot knowledge base article which outlines the steps but if you read it quickly you might miss a critical piece of information. At the very bottom there is […]

Continue Reading

How to Fix HubSpot Website Your Connection is Not Private or Your Page is Unavailable Not Found – redirect Apex non www

Category: Common Questions

HubSpot requires using CNAME to point a domain to their server using a subdomain. This means you still have an A record to worry about. The www in your www.yourdomain.com is a subdomain and not a root domain that does not have the www. It is the same as blog.yourdomain.com or mail.yourdomain.com. In order to fix […]

Continue Reading