Egenverk Snippetsby egenverkComing

Your own code, in one place, with undo.

Snippets keeps CSS, JavaScript and PHP in blocks with targeting, revisions and a syntax check before you save.

Snippets: code blocks with targeting and revisionsCSS · whole siteJS · whole sitePHP · init · priority 10The sitecheckoutREVISIONSExample data

Egenverk Snippets (formerly Vigg3 Code Manager) is an upcoming WordPress plugin that manages CSS, JavaScript and PHP blocks in wp-admin, with per-page targeting, revision history per block and a PHP syntax check before saving. PHP blocks that fail repeatedly switch themselves off, and recovery constants switch all code off. Launch: Coming soon.

WP 5.0+PHP 7.4+
01Before and after

What happens in WordPress

Before
Before: code in the theme's functions.phpfunctions.php
Code in the theme's functions.php that the next update overwrites.
With SnippetsSnippets
After: blocks with on/off and historySnippets
Blocks with on/off, targeting and history.
02Features

What it does, in plain words

  • Targeting

    The whole site, product pages, checkout, the cart — when and for whom.

  • Syntax check

    PHP is checked before saving.

  • Revisions

    History per block and restore.

  • Switches itself off

    PHP blocks that fail repeatedly are switched off.

  • Recovery

    Constants switch off all code, only PHP or only CSS/JS.

  • Import and export

    JSON with a dry run.

03How it works

Blocks you control

Choose where a block runs (site-wide, product pages, checkout …), when and for whom. PHP is checked before you save, and every block has revision history.

SafeguardWhat it does
Syntax checkPHP is checked before saving
Automatic switch-offFailing PHP blocks are switched off
Recovery constantsSwitch off all code, only PHP or only CSS/JS
RevisionsHistory per block and restore

Snippets is coming

Get in touch and we will tell you when the plugin is ready.

05FAQ

Questions

When is Egenverk Snippets coming?
Coming soon.
Related

Lagom

Cleans the database, slims wp-admin and warns when requests run away. Shows counts before anything is deleted.

WP 6.5+ · PHP 7.4+Learn more
Free

Docs Viewer

README, CHANGELOG and docs/ from every plugin and theme, searchable in wp-admin. Free.

WP 5.0+ · PHP 7.4+Learn more

Babbla

Team chat in wp-admin, with an assistant that answers from WooCommerce using tools that only read.

WC 7.0+ · PHP 7.4+Learn more