Why it’s may worth to debug requests in WordPress

Published: Leave a comment

Recently, I had to fix a problem where a larger WordPress website couldn’t be accessed, since all PHP workers on the server were already being busy serving requests. That usually means one of two things: either we have many concurrent connections and the server has not enough resources to serve all of them in time, or serving the requests takes an unusual amount of time.

Continue reading Why it’s may worth to debug requests in WordPress

Working with WordPress’ JavaScript template feature

Published: Leave a comment

There is a cool feature in WordPress if you working with repeaters: the template system. And I’m not talking about templates in the sense of themes, blocks or similar, but of a JavaScript feature many people might not know (or forgot about). It lets you easily display a certain template in JavaScript for a set of identical items. So if you have a list of items and want to display them in an identical way, it’s the ideal solution to use it.

Continue reading Working with WordPress’ JavaScript template feature