I like how this ended up working/looking. PHP’s parse_url function made it easy to get the base URL from resource links we’re adding via ACF. At the moment, the resource type piece that indicates if it’s video, url, audio, or document is manually added but I could see trying to do it automatically. I hesitate […]
Tag: acf
Using ACF Options to set the WordPress homepage to anything I want
It’s weird what I don’t notice. In this case, I hadn’t noticed I couldn’t choose a custom post type as the homepage for WordPress. I could certainly make a page template or do some work arounds but I didn’t want to. There is an existing plugin out there called Front Type but I’m really trying […]
Read More… from Using ACF Options to set the WordPress homepage to anything I want
Inexact Copies
Back in April I posted about trying to deal with a really specific problem. The authors wanted to be able to include page content in other page progressions but only wanted to edit the content in one place AND they wanted little pieces of it to be different. Back then, I did some odd stuff […]
Send an Email on ACF Form Submission
The following code emails a particular person whenever an ACF Form is submitted. It’s a slight modification of the example at the bottom of this page. Since I’m dealing with three forms with different fields, I do some if statements to gather and append various fields if they exist. In this particular workflow, all these […]
All ACF Fields to Custom Post Type
A long time ago, I put a post up about getting ACF Fields for a custom post type in the WP JSON API response but you’d have to do that one by one. Sometimes that would be good but if you have a lot of fields and don’t mind them being public it’s not so […]
Taming a River Theme
Origin Story Matt worked long hours making an incredible theme for Footprints on the James course.1 It’s in WordPress but a large portion of the site ended up being built by hand as complexity increased and time dwindled.2 That means it’s hard-coded HTML/PHP. Now because the site was so great, we ended up having a […]
ACF Repeater Field to Multiple Posts via Advanced Forms

Origin Story We have someone who wants to allow people to enter various numbers of items in a particular pattern. We want to keep this as easy as possible and they wanted to avoid having to repeatedly hit submit. First Pass – Gravity Forms Repeater Field I initially thought we could do this in Gravity […]
Read More… from ACF Repeater Field to Multiple Posts via Advanced Forms
Building an ACF-Based Grade Book Plugin in 30 Minutes or Less

Origin Story Kathy asked me if I had any grade book plugins that they could use with a faculty development course. The goal was to show faculty where they were in the course. I knew I did not wish to use Learn Dash for any number of reasons– grade book module costs extra, grade book […]
Read More… from Building an ACF-Based Grade Book Plugin in 30 Minutes or Less
Gravity Forms to ACF Pattern
When you use Gravity Forms to make a post, you can provision ACF fields but what I found was that the data wasn’t showing up correctly until I manually went and updated the created post. I tried using the WordPress wp_update_post() function but found that didn’t do it. I ended up taking a look at […]
Starting to Think Through a Mapping Theme with ACF

We’re working with Dr. Nicole Turner on a mapping site that will accompany her upcoming book. There’s a lot of specifics there which we’re considering while trying to walk the fine line where what we make is also something we’ll be able to use with other people down the road. We want to generalize but […]
Read More… from Starting to Think Through a Mapping Theme with ACF