This blog post is going to detail my journey with running a Node & PHP (WordPress) development environment on Windows 10 using WSl2, Docker and VS Code. I will share the bare config in a final, separate post at the end. The Goal I am a React developer by trade, so all I really need …
Tag Archives: wordpress
Using Restrict Content Pro with WPGraphQL
With the latest minor release of WPGraphQL comes the Model Layer – a much cleaner way to interact with post objects before they’re sent down the pipe to the client. I use Restrict Content Pro (RCP) to handle membership levels and appropriately restrict visibility of posts to users. Previously, I was hooking into the WP …
Continue reading “Using Restrict Content Pro with WPGraphQL”
Embedding dynamicly named JavaScript in WordPress
A quick snippet to enqueue a directory of JavaScript files in a WordPress template.