Web Dev
Standard WordPress Image Sizes
thumbnail = Thumbnail (default 150px x 150px max) medium = Medium resolution (default 300px x 300px max) large = Large resolution (default 1024px x 1024px max) full = Full resolution (original size uploaded)
Read MoreIncluding WebP Images for Various Screen Sizes and Densities
I’ve been working on optimizing images on a site of mine, and ended up really digging into the images necessary to be optimized at various monitor pixel densities, along with images based on screen width. This also ended up requiring a bit of a process to generate all of the necessary images. The first line […]
Read MoreFilter Myself from Analytics Without Using My IP Address
This should filter out yourself — you’ll need to visit the link in step 9 to start, but it looks like it sets a cookie, so after visiting you should just be able to go to your normal url and still not be counted. Of course if you clear your cookies, you’ll need to visit […]
Read MoreFlexbox Spacing on Last Line of Items
I had tiles spaced nicely on my page for all of my blog posts. All was fantastic, except for the last row, which had a large space in between the blog posts. So my layout had three tiles across for each row, but by the end of the page, I had run out of blog […]
Read MorePassing a Hidden Field Through a Hubspot Form
A company I work for has many events that they attend and they would like to have a hubspot form gather data for each event, but of course they don’t want to make a separate form for each one. 1. Step 1 – Create a Hidden Field on Your Hubspot Form 2. Step 2 – […]
Read MoreMatching the iFrame to the Height of the Content – Cross Domain
I found lots of solutions that didn’t work, and many more that didn’t apply to the situation that most are looking to solve — where you have an iFrame containing content from a different URL that you don’t have control over. The solution that I stumbled upon requires both PHP and javascript. Basically the idea […]
Read MoreA Better Way to Blog in WordPress
I’ve been wanting to make my blog a litle more robust — almost just a dumping ground of random thoughts and notes, along with the occassional longer posts. I’ve found that the way of adding posts into wordpress was just far to cumbersome to make that a reality. I wanted something fluid, that I could […]
Read MoreGoogle Optimize Track Button Click
Step 1: Google Tag Manager A. Create a New Trigger Give a name, set it up with ‘Just Links’ Click on ‘Some Link Clicks’ Use Click Classes if you’re looking to track a button specified by a class, use Click ID if you’ve given it an ID I’ve found things usually work better if we’ve […]
Read MoreJavascript Capture Camera on Phone Doesn’t Work on iPhone
On an iphone you need to add a ‘playsinline’ parameter. I think it works by placing it either in the javascript, or as part of the HTML tag — I just added it to both to be safe, and it resolved the issue so I called it good. In javascript as part of the getUserMedia […]
Read MoreMaking Editable Template Pages in Hubspot
Create a Module 1. Marketing > Files and Templates > Design Tools 2. File > New 3. Select ‘Module’ 4. Next and select options on next page (be sure to do ‘Local Module’) and name it 5. Add the necessary code To Make Editable Field in a Module Use this code, where ‘title’ is the […]
Read More