You decide which snippets go into the Scripts Organizer library for one-click import. Every snippet below is tested and ready; it moves into the library when it collects 10 votes. One vote per snippet per person.
21 snippets up for a vote, page 1 of 3.
Add Tailwind v4 to a WordPress Block Theme Without a Plugin
Integrate Tailwind v4 with a WordPress block theme without a plugin: theme.json colors as Tailwind classes, scanned templates, styles in the editor.
Snippet poll. Should this snippet be in the Scripts Organizer library for one-click import? 10 votes put it there.
1 of 10 votes
WordPress Slow Database? Find Large Autoloaded Options
Is your WordPress database slow? List the largest autoloaded options under Tools and turn autoload off for any of them with one button.
Snippet poll. Should this snippet be in the Scripts Organizer library for one-click import? 10 votes put it there.
0 of 10 votes
WordPress wp-config Site URL for a Headless Front End
Set the WordPress site URL in wp-config for a headless setup: keep WP_HOME on the CMS and send permalinks, REST links and visitors to your front end.
Snippet poll. Should this snippet be in the Scripts Organizer library for one-click import? 10 votes put it there.
0 of 10 votes
WordPress Nonce Verification Failed? Log the Real Cause
WordPress nonce verification failed? Log every failed nonce with its action, user, request and likely cause: expired, cached page, missing action.
Snippet poll. Should this snippet be in the Scripts Organizer library for one-click import? 10 votes put it there.
0 of 10 votes
Add a Post Type Archive to a WordPress Menu
Add any custom post type archive to a WordPress menu from its own box in Appearance > Menus, and keep it highlighted on single posts.
Snippet poll. Should this snippet be in the Scripts Organizer library for one-click import? 10 votes put it there.
0 of 10 votes
Your Site Doesn’t Include Support for the Block in WordPress
Find every WordPress post, template and pattern that shows "Your site doesn't include support for the block", with one Tools page and edit links.
Snippet poll. Should this snippet be in the Scripts Organizer library for one-click import? 10 votes put it there.
0 of 10 votes
Trace Actions in WordPress Action Scheduler to Their Source
Log the file, line and function that scheduled each WordPress Action Scheduler action, so you can see who queued it in WooCommerce's Scheduled Actions.
Snippet poll. Should this snippet be in the Scripts Organizer library for one-click import? 10 votes put it there.
0 of 10 votes
Lock the Publish Button but Allow Save Draft in WordPress
Lock the Publish button in WordPress until a featured image is set, while Save Draft keeps working. Enforced in the editor and the REST API.
Snippet poll. Should this snippet be in the Scripts Organizer library for one-click import? 10 votes put it there.
0 of 10 votes
PHP 8 Attributes Example: Register WordPress Hooks
A PHP 8 attributes example for WordPress: put #[Dpc_Hook] on class methods and one small registrar wires every action and filter for you.
Snippet poll. Should this snippet be in the Scripts Organizer library for one-click import? 10 votes put it there.
0 of 10 votes
Tailwind v4 Design Tokens From WordPress theme.json
Generate Tailwind v4 design tokens from WordPress theme.json presets, so bg-primary and text-large use the same CSS variables as the block editor.
Snippet poll. Should this snippet be in the Scripts Organizer library for one-click import? 10 votes put it there.
0 of 10 votes
