Debugging WordPress Template Part Loading

Template parts are a fundamental part of building WordPress themes but sometimes it can be difficult to find out why a given template part is or isn’t loading. The latest version of Query Monitor makes debugging template part loading easier by exposing the list of any template parts that were not loaded, in addition to … Read more

New Features in Query Monitor 3.3

Query Monitor 3.3 has just been released and includes several new features: Related hooks shown for each panel, and the filters or actions attached to them. Debugging output shown when wp_die() is called. Support for debugging JavaScript translation files. Render timing for dynamic blocks in post content. A toggle to move QM to the side … Read more

Profiling and Logging in Query Monitor

Query Monitor 3.0 quietly introduced a feature which allows developers to profile the running time and memory usage of their code. Query Monitor 3.1 adds a PSR-3 compatible logger which allows developers to log debugging messages to Query Monitor. Let’s take a look at profiling and logging in detail. Profiling Basic profiling can be performed … Read more