Setup a Local WordPress Development Environment on Docker

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”

Podcasting: Sound Like a Radio DJ

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.

Modify a Custom Post Type after it’s been registered

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 that allows you to modify a custom post type after it’s been registered some other way. apply_filters( ‘register_post_type_args’, $args, $post_type ); HookingContinue reading “Modify a Custom Post Type after it’s been registered”

Lock down the WordPress Dashboard

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.

Lock down WP-ADMIN

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 login after a certain amount of attempts, they are blacklisted for a period of time.

Add Google Fonts to WordPress

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.

Create a custom RSS feed for WordPress

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.