Snippets
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

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
- Creating and managing snippets — status, title, file name.
- Loading methods — automatic, manual, reusable (Pro).
- Loading locations — frontend, backend, login, block editor.
- Code position and priority — head, body, footer, priority order.
- Internal vs external files — inline or separate file.
- Device support — all, desktop, mobile & tablet.
- Shortcodes — place snippets with shortcodes.
Related
- Your first snippet — create your first snippet.
- Visual CSS Customizer — style elements visually.