That wraps it up for today. I updated the #nearlyheadless boilerplate with a few quality of life improvements, but most importantly, I’ve created a way to clear a session’s cache by setting a cookie in the browser.
-
Stop Returning false for Errors
I want to squash once and for all. Learn about a better WordPress alternative to using false – the WP_Error object.
-
-
Alex Standiford
I’m excited about this PR. It makes it possible to extend the logic to decide when Nicholas should load a page using compatibility mode.
It uses an Underpin decision list, so the decision result is cached, and logged for debugging purposes.
-
Alex Standiford
My favorite thing about the decision list loader is that it caches the result. If the same decision is called more than once in a single request, the decision list will automatically skip all of the logic and just give the result.
-
4 Ways To Generate Test Data in WordPress
Manually adding this data to the database takes a lot of time. Learn how to generate WordPress data automatically.
-
Alex Standiford
Handling big tasks in #WordPress, like database upgrades or image updates can be a challenge. Most people think of WP Cron first, but there are other ways to do this. In fact, Underpin has three different approaches, each with their own advantages.
-
How to Handle Big Tasks in WordPress
Learn a few different ways you can use to do big tasks, like database migrations, or upgrades using WordPress.
-
Alex Standiford
A look at Nearly Headless where it really shines – a slow internet connection. You’ll see the comments take a minute to load, but the content loads instantly.
-
-
Alex Standiford
One thing I see in many custom #WordPress sites is the misuse of custom post types. Sometimes they’re perfect, but sometimes they are a terrible choice.