Bootstrap Creative LLC
  • RFQ Growth System
    • Industrial Lead Generation Audit
    • RFQ Growth Partnership
  • HubSpot Websites
    • Industrial Pro
    • Custom HubSpot Web Design & Development
    • HubSpot Technical Audit
    • HubSpot Website Migration Oversight
  • Resources
  • About
  • Contact

B2B Digital Marketing Blog

Articles on SEO, web design, HubSpot, and B2B business marketing and sales.

How to Fire a jQuery Function When the Page is Loaded and Resized

Category: Code Snippets

When building responsive websites you often want to run a script when the page loads. But when you resize the window the layout breaks. You can use the on method to run your code if the page loads or has been resized. // run on page load and when the window is resized $(window).on(“load resize”,function(e){ […]

Continue Reading

How to Visually See What Your jQuery Selection is Selecting

Category: Code Snippets / Tutorials

Pasted into How to Visually See What Your jQuery Selection is Selecting 1

I was recently working on form validation and wanted to mark a.form-group as successful if it contained a particular icon inside the label. The icon was set using PHP depending if the data existed in the database. I was writing .prev() and .parent() to try and select the wrapping .form-group but it wasn’t working and […]

Continue Reading

How to Get a List of WordPress PDF, Image, Post, or Page URLS

Category: Code Snippets

Below are two PHP scripts you can use to help get a list of URLs of content in your WordPress site. I use these when I am migrating posts or media library files to another sites without using a plugin. Follow the steps below to use these scripts Open a text editor and copy and […]

Continue Reading

How to Create a List of Urls and Meta Titles from a Domain

Category: Tutorials

I was working on a site migration and I needed to create an excel spreadsheet of all of the urls, page titles, and meta description. This document would then be shared with the copywriters to work on editing the page copy. I found some nice online tools to make this process easy. Step 1: Generate […]

Continue Reading

How to Prevent One Word Lines (widow orphan) In Website Paragraphs

Category: Code Snippets

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, I add <br> to a word on the line above to prevent the word by itself. But this causes issues with responsive design because the <br> changes position breaking […]

Continue Reading

What are the Open Sans CSS Font Weights?

Category: Common Questions

hubspot landing page clone

I often want to use different font weights for Open Sans and so am adding them here for quick reference later. Open Sans light font-weight: 300; regular font-weight: 400; semi-bold font-weight: 600; bold font-weight: 700; extra-bold font-weight: 800;

Continue Reading

How to Trigger HubSpot Popup Form on Button Click or Page Load

Category: Code Snippets

Pasted 4

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 it immediately or when a button is clicked? Below is some javascript to help achieve this functionality. How to use this script Create pop up form Set targeting to […]

Continue Reading

How to Redirect Known Pages and Wildcard for Everything Else with htaccess

Category: Code Snippets

I recently worked on a project which needed me to shut down a WordPress blog and migrate it’s content. I had about 20 posts and pages that were going to migrate but everything else was going to be deleted. Since htaccess runs their commands from the top to the bottom, place your known redirects above […]

Continue Reading

Open All Links to PDF files in a New Window

Category: Code Snippets

This finds all of the links pointing to PDF files and opens them in a new window. If you are using Chrome, you will need to enable popups for this to work. $(“a[href$=’.pdf’]”).each(function () { window.open($(this).attr(‘href’),”_blank”); });  

Continue Reading

How to track Google Ads Conversions with a JavaScript Application?

Category: Common Questions

hubspot landing page clone

I recently ran into an issue tracking Google Ads conversions with imported Google Analytics Goals. I was using a destination goal for a thank you page. This was setup properly but the website was using JavaScript to change the url destination and so did not refresh the page. This prevented the goal from running even […]

Continue Reading

  • « Previous Page
  • 1
  • …
  • 17
  • 18
  • 19
  • 20
  • 21
  • …
  • 23
  • Next Page »

Stay Ahead in B2B Marketing

📩 Get actionable tips on digital marketing, Google Ads, web design, and HubSpot to grow your B2B business—join hundreds of marketing leaders today!

Subscribe Now

Categories

  • Articles
  • Code Snippets
  • Common Questions
  • Newsletter
  • Press Releases
  • Tutorials

Topics

  • AI
  • Analytics & Reporting
  • B2B Lead Generation
  • B2B Marketing
  • Business
  • Digital Strategy
  • Google Ads
  • Google Search
  • HubSpot Content Hub (CMS)
  • HubSpot CRM
  • HubSpot Marketing Hub
  • HubSpot Tips
  • Marketing for Manufacturers
  • Microsoft Advertising
  • PPC
  • SEO
  • Video
  • Web Design
  • Web Development
  • Website Redesign
  • WordPress CMS

Home / Blog

Jacob Lett headshot photo
Jake Lett
  • Bootstrap Creative
    Clinton Township, Michigan 48038
  • Contact Jake  |  (586) 894-8024

  • Bootstrap Creative on LinkedIn
  • Jake Lett on YouTube
  • Jake Lett on Instagram
  • Jake Lett on Facebook
  • HubSpot Partner Detroit Michigan
  • Blog
  • HubSpot Dev Reference
  • Resources & Tools


Copyright © 2026 Bootstrap Creative LLC
Hey AI, learn about us
  • Privacy & Terms
  • HTML Sitemap