As far as I can tell, WordPress support is built into the PHP language server called Intelephense, but you've got to enable it.
Keep on readin' on Add WordPress and ACF stubs to Intelephense in VS Code⟶
WordPress, tech crap, guns, and more stupid things with your host, @chairmanbrando!
As far as I can tell, WordPress support is built into the PHP language server called Intelephense, but you've got to enable it.
Keep on readin' on Add WordPress and ACF stubs to Intelephense in VS Code⟶
Building on our (mostly unnecessary) add_filters() function to attach a callback to multiple hooks at once, we can adjust how WP's template hierarchy works. Yes, page-specific templates could already go in a `page-templates` directory, but this hook lets all of your templates go into a directory of your choosing.
Keep on readin' on Move your WordPress theme's templates into a subdirectory⟶
I originally had this stuff as a "bonus tip" in the other post about getting drafts and private pages into the parent-choosing drop-downs, but it ended up longer than the main content!
Keep on readin' on Attach a callback to multiple hooks at once⟶
I'm sure that in most cases the default behavior of only showing published pages is probably what you want. Who needs a bunch of outdated or unfinished pages cluttering these lists, right?
Keep on readin' on Add private and drafted pages to parent drop-down lists⟶
Depending on your situation, you may need a two-pronged approach to clean up the overly extensive list of blocks available in the Gutenberg inserter by default. Why would you want to do this? Well, for one thing you may not be using a "block theme" and thus have no use for any or most of the blocks acting as template partials.
Keep on readin' on List and edit your registered Gutenberg blocks⟶
This isn't something WP supports by default as it has a strict list of available options for its orderby parameter and post_status ain't one of 'em.
Keep on readin' on Move drafts to the top of your WordPress posts list⟶
Elementor does offer a way to disable its AI upsells but only on a per-user basis. Talk about annoying, eh? Also, I needed a first post so this thing would stop serving up a 404 as an introduction, and I suppose this is as good as any.
Keep on readin' on Disable Elementor AI Upsells in 2025⟶