Dynamic styles allow you to control CSS output with PHP on-the-fly, based on your plugin’s options or simply instead of a preprocessor.
Continue reading →Dynamic styles allow you to control CSS output with PHP on-the-fly, based on your plugin’s options or simply instead of a preprocessor.
Continue reading →A list of 10 non-development tasks that I find myself doing when launching any website powered by WordPress
I recently updated a large plugin from ACF (Advanced Custom Fields) to CMB2 (Custom Meta Boxes v2) and I’m glad I did — here’s why!
Sometimes you need to throw a 404 if certain conditions are met and doing so in WordPress requires a little trickery to achieve the full effect.
WordPress might not use the MVC pattern but following it in your plugins is easy with just a minor change in perspective.
Changing a database table prefix is easy and here’s the simple step-by-step guide! For WordPress installations, it’s essential!
This post is short — no intro to UNIX file permissions or a plethora of commands, just how to easily setup WordPress file & database permissions!
So you need to get a substring between two strings? A quick Google returns about 101,000 results, the first three of which are from StackOverflow and solve the problem for rather specific use-cases. I wanted to solve the problem once-and-for-all in a more general-purpose way.
Continue reading →WordPress always adds an alt
attribute to images added via the Media Library so finding images without alternative text is easy!
Shortcodes are a great way to extend WordPress and as developers there are some pretty groovy undocumented tricks we can employ.