Language: PHP
SVG Fixes in WordPress
Allow SVG Uploads in the Media Library Set Height and Width on SVGs on Frontend...
Read MoreVimeo Fixes
Add / Remove ‘dnt’ from oEmbed Vimeo Videos Used to add the “do not track” parameter on vimeo videos embedded with ACF’s oEmbed field....
Read MoreThe Ternary Operator
As the Ternary Operator pattern can exist in both JS/TS and PHP 🐘, I decided to break this example out onto its own page. This page’s code blocks are written in PHP, and the concept applies to both languages Example 1: A great use ...
Read MoreAssociate Headshot Sign Up Form
The headshot form enables users to sign up for a headshot time. There are 2 forms, one for each studio, that should have the same times, and that allow only 1 entry per time. Once the slots are full, the forms’ modal triggers (button ...
Read MoreNew class added to the template theme: ACF-Handler!
There’s a new class in town called the ACF_Handler! It exists to do one thing: make registering ACF fields across environments less of a pain. Check it out on Github What it does According to ACF’s docs, this small collection of...
Read MoreCreating a Custom Store
With gratitude to Darren Ethier’s series on registering a custom store, here’s the why and how to register a custom store. Why (and when) we need a custom store On the latest version of the Choctaw Print site, I ran into a probl...
Read More