WebHD

Code Snippets Manager

Your own CSS, JavaScript and HTML added to the public site from one screen: where each piece goes, which pages it runs on, an on/off switch, the last ten versions, and a safe mode when one of them breaks something.

Version 1.2.1Updated November 18, 2026Automation & Developer

Get in line

Not open yet No card

Description

Your own CSS, JavaScript and HTML added to the public site from one screen: where each piece goes, which pages it runs on, an on/off switch, the last ten versions, and a safe mode when one of them breaks something.

What it does

  • CSS and JavaScript snippets with run locations
  • HTML snippets
  • Activation scopes (post types and paths)
  • Error protection: safe mode and one switch to pause everything
  • Rollback: the last ten versions of each snippet
  • Scheduling by start and end date
  • Consent-aware scripts
  • Export and import
  • PHP snippets: nothing here runs PHP, and no module may run code on the server that was typed into a screen. Snippets are CSS, JavaScript and HTML, which run in the visitor's browser. Not built yet.
  • A snippet library to pick ready-made snippets from: there is no library yet. Snippets can be moved between sites with the export file. Not built yet.
  • Device rules: the server cannot tell a phone from a laptop. Use a CSS media query inside the snippet instead. Not built yet.
  • A place just after the opening of the page body: Core offers the head and the end of the page. Not built yet.
  • Adding a snippet's outside addresses to the site's security policy: they are recorded with the snippet, but a module cannot yet change the policy from stored data. The policy reports today and does not block. Not built yet.
  • Snippets in the admin: they never run there, on purpose, so a broken one cannot lock you out. Not built yet.
  • Shortcodes to place a snippet by hand inside content. Not built yet.

Stands in for

WPCode, Code Snippets.

These are other companies' products, named only to say what job this module does. WebHD is not affiliated with them.

What comes across

What this module brings over from the plugin a site used before, and what it leaves behind. Each import ends with a report that names anything it could not carry.

From Code Snippets
Comes across: Site CSS, head and footer JavaScript, and head and footer HTML snippets, with their names, descriptions, tags and order. Each arrives switched off.
Does not: PHP snippets of every scope, each listed by name in the report; admin CSS; content snippets placed by shortcode; and whether a snippet was active.
Not yet verified against a live export: this importer has only been tested on sample files we wrote from the documented format.
From WPCode
Comes across: CSS, JavaScript, HTML and text snippets with their names, notes, tags, order and place (head, end of page, above or below content). Each arrives switched off.
Does not: PHP and universal snippets, each listed by name in the report; SCSS and block snippets; device rules; conditional logic; shortcode-only placement; and schedules.
Not yet verified against a live export: this importer has only been tested on sample files we wrote from the documented format.
From Simple Custom CSS and JS
Comes across: Each custom CSS, JavaScript and HTML code with its title, place (head or end of page) and order; whether it was switched off there is noted. Each arrives switched off.
Does not: Codes that ran only in the admin or on the login page, SASS and LESS codes (paste the compiled CSS), minifying, and the Pro plugin's page rules.
Not yet verified against a live export: this importer has only been tested on sample files we wrote from the documented format.
From Header Footer Code Manager
Comes across: Each snippet with its name, kind, place (head, end of page, above or below content), the home page only or chosen post types. Each arrives switched off.
Does not: PHP inside a snippet, device rules, and choices of single pages, posts, categories or tags (their paths are asked for in the report).
Not yet verified against a live export: this importer has only been tested on sample files we wrote from the documented format.
From Head & Footer Scripts
Comes across: The site-wide head, body and footer code with its order; body code goes at the end of the page. Each arrives switched off.
Does not: Head code added to single posts in their edit screen, and who among authors and contributors may edit it.
Not yet verified against a live export: this importer has only been tested on sample files we wrote from the documented format.
From Head, Footer and Post Injections
Comes across: The head, home-page head, body and footer code, and the code before or after post content. Each arrives switched off.
Does not: PHP, the separate phone code, AMP code, the numbered [snippet] pieces, and per-post switches.
Not yet verified against a live export: this importer has only been tested on sample files we wrote from the documented format.
From WP Headers And Footers
Comes across: The header, body and footer code with its order; body code goes at the end of the page. Each arrives switched off.
Does not: Nothing else is stored by the plugin.
Not yet verified against a live export: this importer has only been tested on sample files we wrote from the documented format.
From Head & Footer Code
Comes across: The site-wide head, body and footer code, and the home page's own code; when the home page replaced the site-wide code, the site-wide snippet is kept off the home page. Each arrives switched off.
Does not: Code saved on single posts, pages and categories in their own edit screens, and shortcodes inside the code.
Not yet verified against a live export: this importer has only been tested on sample files we wrote from the documented format.
From Simple Custom CSS
Comes across: The site's custom CSS, in the page head. Each arrives switched off.
Does not: Nothing else is stored by the plugin.
Not yet verified against a live export: this importer has only been tested on sample files we wrote from the documented format.
From SiteOrigin CSS
Comes across: The custom CSS kept for each theme, one snippet per theme. Each arrives switched off.
Does not: CSS saved on single posts, and the visual editor's revisions.
Not yet verified against a live export: this importer has only been tested on sample files we wrote from the documented format.
From Tracking Code Manager
Comes across: Each tracking snippet's name and code, in its order, as an HTML snippet in the head or at the end of the page, switched off until you check it; code a sanitising save had escaped inside script and style tags is turned back into what was typed.
Does not: Conversion codes for order pages (their order values are not filled in here), PHP, the chosen pages, categories and tags it was limited to or kept off (named, so you can list paths), and device limits.
Not yet verified against a live export: this importer has only been tested on sample files we wrote from the documented format.

No importer yet for: Post Snippets.

Using a plugin that is not named here? It is built for your site On The Fly. How that works

Changelog

  1. 1.2.1 November 18, 2026

    Code Snippets Manager 1.2.1: on a site that sits in a folder of its host (Core's base setting), its script in visitors' browsers now calls the site inside its folder.

  2. 1.2.0 November 17, 2026

    Code Snippets Manager 1.2.0: an importer for Tracking Code Manager. Each tracking snippet arrives switched off, in its order, in the page head or at the end of the page; code a sanitising save had escaped inside script and style tags is put back as typed. Conversion codes, PHP, page and device limits are reported, not carried.

  3. 1.1.0 November 17, 2026

    Code Snippets Manager 1.1.0: imports from Simple Custom CSS and JS, Header Footer Code Manager, Head & Footer Scripts, Head, Footer and Post Injections, WP Headers And Footers, Head & Footer Code, Simple Custom CSS and SiteOrigin CSS. Each piece of code keeps its kind, its place and its order where there is one here, and arrives switched off. PHP, admin-only code, SASS and LESS, phone-only code, AMP code and per-post code are named in the report.

  4. 1.0.0 November 17, 2026

    Code Snippets Manager: CSS, JavaScript and HTML snippets with placement, page rules, dates, consent categories for scripts, ten kept versions with restore, and a safe mode that switches them all off. Imports from Code Snippets and WPCode; PHP is not carried.

Get Code Snippets Manager when WebHD opens

Hold a place for your site.

One form on the home page: your WordPress address, then your email.

Get in line

No card Takes a minute No fake scan