Skip to content

Early-bird lifetime licence: $199 once, for the first 200 buyers only. See the offer

Switch from WPCode without breaking a thing.

WPCode is the most installed snippet plugin, and a common first one. If you've outgrown it, or want file-based snippets, team access or Git sync, bring everything across without touching a line of code.

Every importer is in the free plugin.

What comes across from WPCode (Lite and Pro)

And your old [wpcode] shortcodes keep working, even after you delete the old plugin.

  • PHP, JavaScript, CSS, HTML, text and "universal" snippets
  • Auto-insert locations and priorities
  • Conditional logic, including Pro device and schedule rules
  • Tags and notes
  • Custom shortcode names
  • The global Header & Footer boxes
  • Paragraph, excerpt and post-list locations, placed exactly where they were
  • Pro country and continent rules (these need Snipfire Pro)
  • Smart tags in HTML and JavaScript snippets, converted to Snipfire's
  • Pro CSS-selector locations, placed next to the same element (these run with Snipfire Pro)

Not yet

  • Conversion pixels set up in WPCode's pixel add-on
  • Files edited with WPCode's file editor
  • Scripts added in the per-page "page scripts" box
  • Block snippets (WPCode Pro)

Anything Snipfire can't match exactly is marked "Check first" and left running where it is, so you decide.

Where each WPCode setting ends up in Snipfire

WPCodeSnipfire
PHP set to Run EverywherePHP that runs at the same moment WPCode ran it (plugins_loaded, priority 5)
Admin Only / Frontend OnlyThe same, plus a "Request type" condition
Frontend Conditional LogicPHP on the wp hook, so page conditions work
On DemandOnly when I click Run
Site header, body or footerSite header, After <body> opens, Site footer
Before or after paragraph N, the excerpt, or post N in listsThe same content locations, with the same number
Conditional logic (show and hide)Conditions: logged in, role, page type, post type, terms, URL, referrer, IDs
Device and schedule (Pro)Device and Date range conditions, free in Snipfire
Country and continent (Pro)Country and Region conditions (Snipfire Pro)
Global Header & Footer boxesThree HTML snippets; the boxes are emptied, with a backup kept
Custom shortcode names (Pro)Kept, and [wpcode id="…"] keeps working
Anywhere (CSS Selector) (Pro)Next to an element: the same selector and position (Snipfire Pro)
Smart tags such as {title} or {custom_field="key"}Snipfire's smart tags; any without a match are marked "Check first"

Every detail in the documentation

How switching works.

Your site keeps working after every step.

  1. Install the free plugin

    Snipfire notices snippets from other plugins and offers to import them. Your old plugin doesn't even need to be active: Snipfire reads its data directly.

  2. Import

    Copies arrive switched off in an "Imported / WPCode" folder, with a note on anything that works differently. Nothing changes on your site yet.

  3. Check the few that need it

    Anything Snipfire can't match exactly is marked "Check first" and keeps running in WPCode until you've looked at it. Snipfire never guesses silently.

  4. Switch over

    One click turns each snippet off in WPCode and on in Snipfire, and test-loads your site in between. A snippet that fails is reported and left where it was.

  5. Remove the old plugin when you're ready

    Old shortcodes like [wpcode], [code_snippet], [fluent_snippet] and [hfcm] keep working, even after the old plugin is gone.

Or from the command line.

Handy when you're moving many client sites.

# See what would come across
$ wp snipfire import-from wpcode --dry-run

# Import and switch over
$ wp snipfire import-from wpcode --switch

Questions people ask before switching

Will my tracking codes keep running during the switch?

Yes. Each snippet is switched off in WPCode and on in Snipfire in one step, after a test load. Anything marked "Check first" stays running in WPCode until you decide.

Do I have to deactivate WPCode first?

No. Snipfire reads WPCode's data directly, whether WPCode is active or not. Deactivate and delete it once you've checked the site.

What about snippets I added from WPCode's library?

They're ordinary snippets once added, so they come across like the rest. For new ones, Snipfire has its own library, installable in one click.

Can I go back?

Yes. The snippets are still in WPCode, set to draft, and the Header & Footer boxes are backed up. Switch them back on in WPCode and off in Snipfire.

Still deciding?

See how WPCode and Snipfire compare, feature by feature and price by price.

Read the comparison

Switching from something else?

Move your snippets over this afternoon.

Importing changes nothing until you switch over, and your old shortcodes keep working.