Your first snippet

Create a small snippet, save it, and activate it when you are ready.

  1. Click Add snippet

    From Snippets, open the new-snippet dialog.

  2. Choose a code type

    Pick PHP, CSS, JavaScript, HTML, or Mixed.

  3. Choose execution

    Auto insert loads the snippet on the site. Shortcode runs only where you paste the tag.

  4. Choose where it runs

    For Auto insert, pick header, footer, admin, or another location. Shortcode skips that step.

  5. Write your code

    Paste or write code in the editor. Syntax highlighting follows the selected type.

  6. Save

    Saving creates a version snapshot you can restore later.

  7. Activate

    Toggle Active when the snippet is ready to run according to its location rules.

New snippet dialog with language, how it runs and where it loads
New snippet: language, how it runs, and where it loads
Tip
  • Start with CSS or HTML on a staging site before enabling PHP.