Snippets

Summarize with AI ChatGPT Claude
On this page

A snippet is a single block of CSS, JavaScript, or HTML that Simple Custom Code saves as a file and loads on your site. You control what it contains, where it loads, when it loads, and how it is served.

Snippet essentials

The Custom Codes list showing snippet state, type, title, description, group, and updated

Every snippet has:

  • Type — CSS, JavaScript, or HTML.
  • Title — a name for the snippet.
  • Code — the actual CSS, JS, or HTML, saved as a file in your uploads folder.
  • Status — Live or Off. Off snippets never run on your site.
  • Loading method — Automatic, Manual, or Reusable (Pro).
  • Loading locations — Frontend, Backend (Admin), Login Page, Block Editor.
  • Code position — Head, after <body>, or End of Page (plus WooCommerce positions in Pro).
  • Priority — lower numbers print first.
  • Linking type — inline in the page, or a separate file.
  • Device support — all devices, desktop only, or mobile & tablet.

In this section