Gutenberg, Code, and Highlighting

One of the great things about Gutenberg is the ability to compartmentalize different types of content within blocks.  One of the blocks that I've been using a lot of recently is the code block.  This block by default will render something like this: While this is acceptable, it's not very pretty.  I used to use [...]

Securing WordPress Plugins with more Plugins

I've written before about disabling plugin deactivation in WordPress, but I've finally used that knowledge in practice--on this site. The Problem Let's say you're going along your day, developing things, and fixing things, and making the world a better place when all of a sudden you get a call from a client that their website [...]

CSS & JS Concatenation in WordPress

At WordPress.com VIP one of the features we have on our platform is automated concatenation of Javascript and CSS files when registered through the core WordPress wp_enqueue__*() functions. We do this using the nginx-http-concat plugin: https://github.com/Automattic/nginx-http-concat This plugin was written to work with nginx, but the server running derrick.blog is Apache.  I've worked around this and have nginx-http-concat running fully [...]

%d bloggers like this: