There are a lot of libraries out there for generating HTML forms using PHP. So far, however, I haven’t found one that meets both of these things: Simple, OOP usage. Flexible enough rendering that I can use it anywhere, but especially within a WordPress plugin. A bonus option would be a library that can be [more…]
These posts are meant to be quick ideas that I may want to explore later, whether as a blog post or a project.
I think it would be a neat idea to utilize a plugin and the GitHub API to synchronize a GitHub repo with WordPress. Posts in WordPress (or a CPT) would correlate to files in the GitHub repo. Saving in the WP editor would trigger a commit in GitHub using the API. Similarly, changes made to [more…]
With Valet+, it’s possible to define a custom set of environment variables for a site. This could conceivably make it possible to have a single set of files run multiple sites. One obstacle to overcome would be using WP CLI with such a setup.