August 19, 2019

Simple Content Restrictor Plugin

Origin Story I had a number of emails from people trying to restrict content in various ways. One person wanted to restrict access because they were editing previously published content. Another person wanted more of a traditional membership-style option with the ability to restrict certain content based on user roles. I looked at some of the plugins out there but felt that building something a little less corporate1 would be pretty easy. It’ll likely evolve as I get some people using it but it’s here now if you want to mess with it. Making It This plugin uses the Advanced Custom Fields plugin as it saves me tons of hassle building custom field interfaces. ACF Stuff First, these two pieces enable me to sync up ACF field data without the drama of import/export or hard coding it into PHP.2 Now, I started off hand-writing the user levels as items. While easy, it felt wrong because there might be other user levels created by other plugins and they’d end up left out. I realized I could just add the user roles automatically like so. This will list all the user roles on the site as options. Filtering the Content My original idea was that I could just use use WP’s content filter. That is what I did but things got more […]

My Sunday Seven

If you take a look at this George Couros post, you’ll learn that the “Sunday Seven” is by the Burgess Consulting community, of which “IMPress Books” is a part of as a subsidiary company. I have nothing to do with either – but you can get my Sunday Seve…

NYTimes: The 1619 Project

We subscribe to the Sunday edition of The New York Times for features just like this. The 1619 Project is the entire special focus of yesterday’s NYT Magazine, and it is an amazing example of reporting, commentary, writing and exploration of a difficult topic. The premise of the entire project is that the roots of […]

The Next Good Thing

In the last post I talked about how I was on the journey between the Rut, the Transition and the Good Thing. I didn’t actually talk about the good thing, and I guess it’s because I’m in the middle of a process that will take a good fe…