PressBooks has a filter that runs in prior to the kses filter and that was removing iframes that we wanted to remain. This bit of PHP in a plugin adds a single domain to the list. If you needed to add a bunch array_merge would let you do that easily. […]
Category: WordPress
WordPress Multisite Copy Users from One Site to Another
I made a little plugin that let me copy users from one blog to another in WordPress multisite.1 I thought I’d have to use switch_to or something but I didn’t. It’d be easy to expand this to do more tricks for you and have more shortcode parameters but I don’t need them so it is […]
Read More… from WordPress Multisite Copy Users from One Site to Another
Clean the WordPress Dashboard & Add Your Own Content
This little plugin is meant for WordPress multisite. When network activated, it closes all the default dashboard widgets and adds your own. It populates your widget with the title and excerpt of any posts on your root blog that are in the category ‘support.’ It’s meant to make it easy for you to add tutorial […]
Read More… from Clean the WordPress Dashboard & Add Your Own Content
Monthly Reporting, A Gravity Forms to Google Forms Love Story
Well not really but I’ll explain it anyway. Gravity to Google There are a number of plugins that tie Gravity Forms to Google Sheets but most (all?) of them rely on the ability to create an application to get authentication tokens. Many institutional accounts turn off that capability. VCU has turned that off. As a […]
Read More… from Monthly Reporting, A Gravity Forms to Google Forms Love Story
Considering Our WordPress Development Patterns
I believe we’ve developed a pretty solid pattern for making WordPress do what faculty want and making that happen pretty quickly. We have high goals in terms of taking on additional challenging work while also supporting a lot of things and a lot of people so we’ve had to be fairly pragmatic in terms of […]
Read More… from Considering Our WordPress Development Patterns
Voting in Gravity Forms
This is one of those unique needs but with base elements that are likely to be useful in other scenarios. It looks at the logical operators in Gravity Forms which require no programming knowledge, looks at using cookies to discourage more than one entry, and finally moves to using the API to display data. That’s […]
Zombie Posts/Pages Shortcode
Origin Story This is an odd one but has a number of uses outside this weird scenario. In this case authors have access to Site B but want the content they write to show up on Site A on the appropriate pages/posts. Given this is a multisite I could tie the sites together and do […]
Two Display Posts Tricks
I’ve been a fan of Display Posts since the days of straight Non-Programistan. Despite the fact that I can write my own stuff from scratch, Display Posts still comes in handy all the time. The following are just two little tricks used in a recent course site. I’m just skimming the surface of the capabilities […]
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