Debugging WordPress: White Screen of Death on the Plugins Page
Only wp-admin/plugins.php died, and debug.log stayed empty. Dropping markers to bisect my way down to the function causing a segfault, and fixing it without touching core or the plugins.
Programming in PHP: syntax, standard functions and the problems that come up often.
8 posts carry this tag.
Only wp-admin/plugins.php died, and debug.log stayed empty. Dropping markers to bisect my way down to the function causing a segfault, and fixing it without touching core or the plugins.
Rewrite is enabled in the admin panel but the URLs still contain index.php? The problem is one line in a config file the admin interface never touches.
Using add_menu_page and add_submenu_page to add your own admin pages for a plugin or theme.
13 constants in wp-config.php I have used over and over across years of WordPress work, with notes on when to turn each one on and when not to.
A basic PHP exercise with three different solutions, and why the modulo version is the one actually worth learning.
The parent theme ships with language files, but what about the strings you wrote yourself in the child theme? How to load your own text domain with Poedit.
Telling filesystem paths and URLs apart in WordPress, and picking the right function for each case instead of building strings by hand.
A small shortcode that lets you drop a WordPress menu into a post, a widget or a page builder without editing a template.