So what I’m doing here is sending an email the day before an event someone registered for via a Gravity Forms process I set up. This is kind of an interesting pattern because it moves back and forth from the Gravity Forms API and uses a mix of Events Calendar functions, in addition to basic […]
Category: WordPress
List all my WP multisite blogs shortcode
Just a little function with a shortcode to list all your sites in a WP Multisite scenario. It gives you a link to the front end and the dashboard. Simple and easy to tweak. This function uses three WP functions. You can check out the links for more details.<footnote>This is actually kind of a neat […]
Revisiting Minimal WordPress
I’ve blogged a number of times over the years about minimizing the complexity that’s exposed in WordPress’s dashboard. I’ve done that in a couple different ways. The Gravity Forms-driven front end where you avoid WP’s dashboard entirely is one path. The other way was to just remove stuff that’s like irrelevant to different groups. I […]
Request this workshop
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 […]
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 […]
Deleting Gravity Form Reservations
I’m messing around with a reservation system that meshes with the Events Calendar Pro calendar system we use. We’re not trying to get people to pay for anything and we have a few other simple things that we want to do that makes a lot of the paid plugins for reservations messy. One of the […]
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
WordPress post counts by year and category
I’m sure there are many ways to do this but it was a pretty specific request. They wanted a by year count of posts in all the categories. After a bit of looking around I just wrote a plugin. Most of the explanation is in the code comments. Get the first year where we have […]