Performance optimization Intro
Reading a query profile: slow versus duplicated
They sit side by side in the same panel but they are not the same problem. One needs the query rewritten; the other disappears with a cache. Telling…
Technote
For developers who work on WordPress as code: hooks and filters, WP-CLI, Git workflow and deployment automation.
25 articles· Developers
Performance optimization Intro
They sit side by side in the same panel but they are not the same problem. One needs the query rewritten; the other disappears with a cache. Telling…
Development workflow Intro
A post type opens with one line. Meta does not: it needs a registered type, an auth_callback governs writing, and reading opens regardless.
Themes & plugins Intro
Most "my CSS does not apply" cases are a child stylesheet loading before the parent. Declaring a dependency guarantees the order and removes the need to force anything.
Development workflow Intro
Bulk-edit accidents almost always come from selecting the wrong set. Split selection and action into two commands and you get to see what will change before it changes.
Development workflow Intro
The same code on the same hook behaves differently depending on when it runs. Taxonomies, post types and translations all see an incomplete world before init.
Development workflow Intro
One rule decides it: did we write this? Credentials and generated content are not source, and once they are in the repository the problem is no longer reversible.
Development workflow Intro
You are already using it even if you never go headless — this is how the block editor saves your posts. Knowing the response shape halves your client…
Development workflow Practical
The line between what belongs in a WordPress repository and what must never enter it is sharp. The moment wp-config.php lands in a repo, your database password and…
Development workflow Intro
Move click-work to the command line and the work becomes a record. Installing takes ten minutes; deciding which PHP it runs on and as which user saves you…
Performance optimization Intro
Optimising by intuition usually improves something. The trouble is that it was rarely the bottleneck. Start by splitting the request into segments and getting numbers.
Development workflow Intro
add_action and add_filter write into the same registry. Only one thing separates them: a filter must return a value, and one that forgets silently nulls the thing it…
Themes & plugins Intro
Every child theme task starts with the same question: which file is drawing this screen? There is a way to confirm it instead of guessing.