Skip to content
wp-skills
Register

WordPress boilerplate.
Generated.

34 generators that write standards-compliant PHP for your theme or plugin. No dependency to install, nothing to keep updated.

34 live · 4 planned

Every generator

Pick one, fill in the fields, take the PHP. Nothing is behind a signup.

php · copy · save

This is what comes out

Generated by the same functions the tool pages run. Nothing here is a mockup.

function wps_release_notice() {
	$message     = __( 'Settings saved.', 'wp-skills' );
	$type        = 'success';
	$dismissible = true;
	$classes     = 'notice notice-' . $type . ( $dismissible ? ' is-dismissible' : '' );

	printf( '<div class="%1$s"><p>%2$s</p></div>', esc_attr( $classes ), esc_html( $message ) );
}
add_action( 'admin_notices', 'wps_release_notice' );

Three steps

There is no fourth.

1. Pick a generatorTwenty-one of them, indexed above. No account, no install, no configuration.
2. Fill the fieldsThe PHP is rewritten as you type, beside the form. What you see is the whole output.
3. Copy or savePaste it into your theme or plugin. Sign in and the snippet is kept, editable later.

Why generate it

Standards-compliant PHPEscaped output, text domains, and the hooks WordPress actually documents — the boilerplate you would have written carefully, written quickly.
Nothing to installThe output is source. There is no plugin sitting in your site, no version to keep current, and nothing to remove later.
Your snippets, keptSave any of the 34 generators' output to your account, come back, and edit the fields rather than the code.
12 answered

Questions

Stop writing boilerplate.