Async or Defer JavaScript Files in WordPress

There are a lot of articles out there about how to async or defer scripts in WordPress, but they assume you’ll be writing all the code or using one of the bloated plugins to make it happen. In my case, I just needed the ability to async or defer a few scripts in a custom … Continue reading Async or Defer JavaScript Files in WordPress

WordPress Post Expiration Module

WordPress plugins are great, but sometimes you want to avoid having additional settings screens or giving a client access to make changes that could break functionality on their website. If you aren’t a coder and you want to automatically expire a post in WordPress, I’d recommend that you check out the Post Expirator plugin. However, … Continue reading WordPress Post Expiration Module

Redirect Entire Website Except WordPress Admin

I get asked a lot about how to handle different types of website redirects. Usually, someone wants to redirect an entire site, or maybe just redirect a subdomain.¬† Other times, they want to do simple one-off redirects. Many web servers that run WordPress use Apache, which means that .htaccess¬†rules will work. Other web servers like … Continue reading Redirect Entire Website Except WordPress Admin