Tag: PHP
-
Creating an ACF filter on the WordPress Admin Page
WordPress Advanced Custom Fields (ACF) is fantastic, allows you a simple way to add data and metadata to each post, but by default it doesn’t display or allow you to query on it. I wanted a type to allow me to select different types for a post – specifically for internal review status of all…
-
REST Authentication
I did some research the other day to secure my REST API using The Slim framework. I found a tidy little way to force HTTP authentication (basic, in this case) using this article as well as the PHP manual. I get the client to provide the user name and password, then I can look up…