I’m working on a DLINQ website and I’m recycling1 ideas I liked from the old ALT Lab website days.2 This one is about having a list of workshops that we normally offer and making it easy for people to request them. My goal is to try to meet people’s needs for workshops and make what […]
Tag: acf
WordPress and ACF as an HTML generator for Canvas Catalog
I’ve written before about trying to figure out some decent ways to customize Canvas Catalog. It’s not a straightforward path. I put together a mix of HTML and CSS on top of the basic bootstrap stuff that Catalog comes with. Unfortunately, that meant I was a choke point in creating new course listings. While we’re […]
Read More… from WordPress and ACF as an HTML generator for Canvas Catalog
Conditional Field Display in ACF Based on Options Value
In ACF, the conditional logic for fields is constrained to data found in the other fields in the group. That works for most things. In this case, I wanted to have an options page for the theme that allowed two different patterns for timeline events. If you choose the “structured events” pattern, I want to […]
Read More… from Conditional Field Display in ACF Based on Options Value
Taking Reservations in Gravity Forms
I should have written this post first, but I didn’t. Give me some credit. I’m still writing stuff on the Internet. The years have proven that’s a higher bar than one might expect. So, we want people to be able to register for events and we want to be able to send them emails, mark […]
Automatic Source URL
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 […]
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 […]