25% off ProSNIPC25OFF

One-click generators

Generators scaffold ready-to-edit snippets for common WordPress tasks so you start from working code, not a blank editor.

Available generators

  • Redirect: map a source path to a destination URL with a 301 or 302 status.
  • Custom post type: register a new post type by providing a slug, labels, and the features it supports.
  • Custom taxonomy: add a taxonomy with a slug, set whether it is hierarchical, and attach it to one or more post types.
  • Disable comments: turn comments off globally or for specific post types.
  • Header / footer scripts: inject code into wp_head or wp_footer without editing your theme.

All five generators are available in the free edition.

How it works

  1. Open the Generate page from the Snippets admin menu.
  2. Pick a generator from the picker.
  3. Fill in the form fields. Each generator asks only for the inputs it needs.
  4. Click Generate. SnipCraft creates a normal snippet pre-filled with the boilerplate code. You can edit it, set its scope, and add run-when conditions like any other snippet.
The generator picker: start from Redirect, Disable comments, Custom Post Type, and more, or describe it and let the AI write it.

Pro

Pro adds the AI assistant (describe a snippet in plain English and SnipCraft Pro writes the code) and content-generation presets for seeding posts, terms, users, and WooCommerce products.

See snippet types to understand what code a generated snippet contains. The AI assistant covers the Pro describe-and-generate workflow in detail.