WP Code Tip: get array of post IDs
A number of times over my years developing in WordPress I've needed to extract the post IDs of the posts…
A number of times over my years developing in WordPress I've needed to extract the post IDs of the posts…
When comparing a variable with multiple values consider using in_array(), instead of complex if expressions. I love clean, easy-to-read code,…
This post is a somewhat off-topic, but for all those of you that are working on Macs, here's a little…
This article walks through the simple steps for setting up composer. Initially at project level, then, optionally, at the global…
This article provides a simple fix for the ansible error, "sorry, tersmitten.swapfile was not found", by updating 1 (maybe 2?)…
This simple post should fix the "usr/local is not writable" issue with homebrew. Whilst on holiday I needed to use…
On a few occasions Yoast has inexplicably injected a noindex meta tag in the head of pages that I want…
Sometimes it's nice to have all the goodies wrapped up in a nice little function, such as wp_get_attachment_image(). This is…
It's not uncommon to only want to show specific sidebar widgets or footer widgets in certain views. In the case…
By default the directories (folders) of your website and other applications may be publicly viewable for all to browse. This…
This website uses cookies.