Category: How Things Work

  • get_adjacent_post() failing on bulk-created posts

    While working with a custom post type and a custom taxonomy, I was having trouble with get_adjacent_post(). No matter what I tried, if I limited the function to the same term, it returned empty. At first I thought it was because I hadn’t specified the taxonomy, but when I did that and it still didn’t work,…

  • How is your hosting?

    Once you’re set up on a web host, it’s easy to get complacent (“My site is up! I’m good to go!”). But there are several excellent reasons to pay attention to your host’s performance: It will definitely impact your visitors’ experience. You’ve heard it before but it’s worth repeating: people aren’t patient, and you’re easily…

  • Why aren’t my changes shown immediately with CloudFlare?

    Depending on your settings within CloudFlare, you may not see your changes right away when you’re working on the theme. This can make you think you’re crazy, among other things. It actually makes perfect sense, even though it doesn’t feel that way. CloudFlare is caching your site in the event of a hosting outage, and…