How to Redirect WWW to non WWW WordPress [htaccess snippet]
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…
How to Get a Wistia Video Thumbnail Without the API
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…
How Do You Get the URL Parameters and Append to Href or Src of Another Element?
Do you want to grab the url parameters and pass them to a button href or iframe src? This is common when you are running a…
HubSpot onFormSubmit and Other JavaScript Events
When embedding a HubSpot form using the JavaScript script tag it is common to want to apply some of your own functions after the form has…
How to Prevent One Word Lines (widow orphan) In Website Paragraphs
I am often adding padding to the left and right of paragraphs to force copy down to prevent one word on a line. Or even worse,…
How to Trigger HubSpot Popup Form on Button Click or Page Load
HubSpot provides the ability to display a pop up form with various triggers (exit intent, after 7 seconds, etc.) But what if you want to show…
Yoast Breadcrumbs CSS Styles for WordPress Templates
The Yoast SEO plugin is great and offers a nice breadcrumbs snippet. Unfortunately, there is not an easy way to add a wrapper ID or class…