Add Useful Body Classes
Adds the post type and slug of the current page plus a logged-in or logged-out class to the body tag, for precise CSS targeting.
Snippet Library
Snippets for developers: debugging helpers, custom cron schedules, body classes, REST API tweaks and admin tools for checking hooks and queries. Building blocks for people who write code for WordPress every day.
Adds the post type and slug of the current page plus a logged-in or logged-out class to the body tag, for precise CSS targeting.
Registers an "every_five_minutes" interval that your own scheduled events can use with wp_schedule_event().
Turns on featured image (post thumbnail) support for themes that do not declare it.
Adds a featured_image_url field to posts and pages in REST API responses, so headless front ends do not need a second request.
Stops WordPress from offering updates for plugins you list, such as a customized plugin that must not be overwritten.
Enqueues custom.css from the active (child) theme folder if it exists, with a version based on its modification time to bust caches.
Adds an HTML comment at the bottom of front-end and admin pages with the number of database queries, generation time and peak memory. Visible to administrators only.
Adds a box to the post editor that lists every custom field stored for the post, hidden ones included, with serialized arrays and JSON shown in a readable layout. Nothing can be changed from it.
A ready-to-edit example that registers a "Portfolio" post type with archive, featured images and block editor support.
A ready-to-edit example that registers a hierarchical "Project Type" taxonomy for the Portfolio post type.
Adds a wpide_console() helper that prints any PHP variable to the browser's developer console for administrators, so you can inspect data without breaking the page layout.
Shows which Git branch and commit the site or theme is running in the admin bar for administrators, so developers always know what code is deployed on each copy.
Displays the theme template file (and block template, on block themes) used for the current page in the admin bar, for administrators only.