I went on a quest to take a photograph of the Strawberry Supermoon in June of 2022, was I able to complete it?
Learn how to deploy a Next.js app on Github Pages with Github Actions.
As I continue to explore Docker, this post will serve as my notes. I assume assume you already have the following technologies on your computer or know how to install them: Installation Clone WordPress: $ git clone [email protected]:WordPress/wordpress-develop.git Install dependencies: $ cd wordpress-develop && npm i Start Docker containers: $ npm run env:start Install WordPress:Continue reading “Setup a Local WordPress Development Environment on Docker”
After listening to episode #265 of Shop Talk Show, where Chris Coyer mentioned he wanted to sound “like the guy on the radio”; I was compelled to share my knowledge of radio studios. I was in the broadcast industry for around 15 years, both as a DJ and eventually as chief engineer. I’ve built dozensContinue reading “Podcasting: Sound Like a Radio DJ”
Today I was tasked with adding functionality to an existing custom post type. The problem was, the CPT was being registered in a plugin that I could not edit. After some digging, I found there’s a filter for that (found in post.php) that allows you to modify a custom post type after it’s been registered some otherContinue reading “Modify a Custom Post Type after it’s been registered”
This client wanted to feature their archive titles in a large hero area. The PSD excluded the prefixes like, “Category:”, “Tag:”, “Author:”, etc…
I rode the struggle bus pretty hard on this one today. I needed to ignore the “featured” category in a loop, and to do so, WP_Query() requires the category ID. Luckily, I found a handy function: get_term_by();
Did anyone actually ask around before making this “feature” mandatory? Let’s get rid of this…
Because of the recent increase in attacks on WordPress, we were recently chatting about locking down /wp-admin and wp-login.php. We discussed the Limit Login Attempts plugin, which works really well. If a user fails to log in after a certain amount of attempts, they are blacklisted for a period of time.
When using Google Fonts with WordPress, you should NOT use @import, nor just place the HTML in the header. Instead use a function and enqueue them.
Creating a custom RSS feed is pretty easy. I’ll show you have to do it in three steps. Here’s a pro-tip: browsers heavily cache RSS feeds. While developing, try using Incognito Mode.
I love making homemade pizza. It’s been a “Sunday staple” at our house for quite some time. Over the years, I’ve created a sort of Sicilian and Neapolitan-style hybrid. This happened by accident when trying to copycat a Mellow Mushroom recipe. Personally, I love the chewiness of a Neapolitan, and the flavor of a Sicilian – andContinue reading “Greg’s Homemade Pizza Recipe”
Did you know you can use Dropbox to take and share screenshots? You can and it’s as easy as enabling the option.
Some of you are like me: “frequent theme changer guy”. Here’s a trick I’ve learned to keep from having to re-write code every time I get bored with a theme: I use the “Must Use” Plugin.
How i18n (internationalization) works in WordPress By wrapping some text in a nifty PHP function, we allow that text to be translated into another language. Or Or All three of those examples will be translated. All three of them do the exact same thing. Check out the WordPress Codex, read this post from Otto, and checkContinue reading “i18n vs L10n”