Hi, i’m Phil
a creative problem solver.
-
Easy Related Posts WordPress Query
Sometimes you just need to output some posts based on the post you are already on. You could place this code on your single post template and it would return 3 posts based on the categories said post are associated with. The ‘post__not_in’ => array(get_the_ID()), line ensures the post you are currently on doesn’t show […]
Published:
Category:
Tags:
-
Upload vCard files to WordPress
We use the upload_mimes Hook to add the vcard file formats to our allowed mime types. This can be placed in your custom or child themes functions.php file or in a custom plugin. You can craft this function to allow other file formats also, but be careful as you may be opening your site up […]
Published:
Category:
Tags:
-
Bathroom Remodel
Published:
Category:
Tags:
-
Death By (Exercise Rep Calculator)
A small javascript calculator for determining the number of reps completed during a “Death By” EMOM workout. https://codepen.io/philhoyt/pen/bGpGLeN
Published:
Category:
Tags:
-
Using Airtable to learn React
The past few weeks I’ve started to learn the React library more seriously with a few practice projects. I learned of Airtable from a CSS-Tricks article a while back which goes into more detail of what Airtable is but the TL;DR might sum it up as a Google Sheets on steroids with API endpoints. In […]
Published:
Category:
Tags:
-
How I am styling Select elements
I’ve complained about styling forms before on this blog. But things have gotten better over the last several years and we are starting to see some browser consistency. I did run into a problem with select elements to find that adding pseudo classes won’t work, which is my usual go to for adding font icons […]
Published:
Category: