Code manager for WordPress

Write the code once. Use it as a block.

WP Coder Pro keeps your HTML, CSS, JavaScript and PHP in one place and turns any snippet into a Gutenberg block with fields your clients can edit. No theme edits, no build tools.

  • One-time payment, lifetime updates
  • 15-day money-back guarantee
  • Works with any theme
Active
<article class="plan"> <If field="featured" value="1"> <b class="badge">Most popular</b> </If> <h3>{{$plan}}</h3> <p class="price">{{$price}}</p> <ul><Loop field="features"> <li>{{loop.text}}</li> </Loop></ul> <a href="{{$link}}">Buy for {{$plan}}</a> </article>
Most popular

1 site

$29

  • All Pro features
  • Lifetime updates

Buy for 1 site

Pricing planWP Coder block

Features

Edit the fields: the block updates, and the snippet shows where each value goes.

  • 20

    field types for block fields — 8 in the free version

  • 10

    visitor conditions, plus page rules

  • 82

    ready-made snippets instead of small plugins

  • 0

    build tools — no React, no npm

Built for people who write code

  • WordPress developers

    Custom features and markup without editing theme files.

  • Agencies

    One set of blocks you can import on every client site.

  • Freelancers

    Landing pages and sections clients can edit safely.

  • Site owners who code

    One place for every tweak instead of ten small plugins.

What Pro adds to the free WP Coder

The free plugin on WordPress.org runs snippets, site-wide scripts and simple blocks. WP Coder Pro is for blocks your clients can edit, dynamic markup without PHP, precise targeting — and whole pages.

  1. Blocks with fields

    Blocks your clients can edit

    Turn a snippet into a Gutenberg block with real fields: repeaters for lists and cards, post and term pickers, toggles, selects, rich text, images and icons — each with its own label, help text and a live preview.

    Free
    8 basic field types
    Pro
    20 field types, repeaters, labels and help text, Click to edit
    Attributes & Block Fields
  2. Dynamic HTML

    Logic and live data, no PHP

    Show or hide parts of the markup with <If>, repeat rows with <Loop> — over a repeater or the latest posts — and print post, user, ACF and WooCommerce data with short placeholders.

    Free
    Static HTML; dynamic values need PHP
    Pro
    Loop Logic and QuickCode in any snippet
    Loop Logic & QuickCode
  3. Targeting

    Only where, when and for whom it should

    Pick posts, pages, categories, archives and post types, then narrow it down by user role, schedule, device, browser, OS, language, cookie, referrer, URL or new and returning visitors.

    Free
    The whole site, or where you place the shortcode
    Pro
    Page rules + 10 visitor conditions, with a schedule
    Conditions
  4. Pages and speed

    Whole pages, and lighter ones

    Make a snippet the template of a page, or start from a blank template without the theme. Each page gets one combined CSS and JS file, jQuery only when the code needs it, and none of the plugin files you remove.

    Free
    A CSS and a JS file for each snippet
    Pro
    Page templates, Blank template, combined files, Find on page
    Page Templates

From snippet to block in four steps

  1. Write the snippet

    HTML, CSS, JavaScript and PHP in one editor with a live preview. CSS and JS load only where the snippet is used.

  2. List its fields

    Name each value you want editable and pick a type: text, rich text, image, toggle, repeater and 15 more. Put {{$name}} where the value goes.

  3. Add logic where needed

    Show parts of the markup with <If>, repeat rows with <Loop>, read posts and custom fields with QuickCode.

  4. Place the block

    Add the WP Coder block in Gutenberg and pick the snippet: its sidebar shows the fields you listed. Its shortcode works everywhere else.

Nothing to compile. The block editor builds the fields from your attribute list, so a new block is ready as soon as you save the snippet.

What people build with it

A few of the jobs WP Coder Pro does on real sites.

Client-editable blocks

Team members, pricing tables, FAQs, testimonials: build the block once, and editors fill in the fields without touching the code.

  • Repeater rows for lists and cards
  • Images from the media library
  • Labels and help text on every field

Landing pages

Give a page its own template that ignores the theme, then assemble it from your blocks.

  • Custom page templates
  • Blank template without the theme’s header and footer
  • CSS and JS only on that page

Targeted banners and notices

Show a sale banner only during the sale, only to returning visitors on desktop, only on the English version of the site.

  • Schedule by days, times and date ranges
  • Device, browser, OS and language
  • Cookie, referrer and URL rules

Tracking and verification codes

Put analytics, pixels, meta tags and JSON-LD where they belong, without another plugin.

  • Print in <head>, after <body> opens or before </body>
  • Google Analytics, Tag Manager, Facebook and Pinterest pixels
  • Turn tracking off for chosen user roles

Maintenance and login pages

Close the front end with your own maintenance page while you work, and restyle the login page with your own CSS and JS.

  • Maintenance mode: admins still see the site
  • Custom styles and scripts on the login page
  • Your HTML for the maintenance page, not a fixed design

Small site tweaks

Replace a handful of single-purpose plugins with snippets and the built-in tools.

  • Remove scripts and styles other plugins add
  • Breadcrumbs, post icons, duplicate posts
  • Search & replace across snippets

How WP Coder Pro compares

The free WP Coder, functions.php and a custom block plugin, side by side.

WP Coder Pro compared with the free version, functions.php and a custom block plugin
FeatureWP Coder ProWP Coder (free)functions.phpCustom block plugin
Gutenberg block with fields20 field types, repeaters, labels8 basic field typesNoYes, written in React
Where and for whom it showsPage rules + 10 visitor conditionsWhole site or by shortcodeWritten by handWritten by hand
Logic and live data in HTMLLoop Logic and QuickCodeNo — PHP onlyPHPPHP and React
Page templatesSnippet as template, Blank templateNoTemplate files in the themeWritten by hand
CSS and JS per pageCombined, jQuery only when neededA file per snippetEnqueued by handPer block
Revisions and Search & ReplaceYesNoGitGit
HTML, CSS, JS and PHPOne editor, live previewOne editor, live previewPHP here, CSS and JS in other filesFiles in the plugin
Build stepNoneNoneNonenpm and a build
Survives a theme changeYesYesNo, it lives in the themeYes
CostFrom $29, one-timeFreeYour timeYour time

Safe by default

Custom PHP runs inside your site, so WP Coder Pro checks it, watches it and lets you test it before visitors see it.

  • Safe Mode

    A snippet whose PHP stops the site with a fatal error is switched off, the next page loads, and an admin notice links to it.

  • Code scan

    Every path that runs your PHP goes through the same check. A snippet that calls a blocked function is not executed.

  • Test mode

    Only administrators see a snippet in test mode, its PHP included, until you switch it live.

  • Revisions

    Turn on Revision History and earlier versions of each snippet are kept, so a change can be rolled back.

code-safetyActive

PHP is scanned before it runs

Snippets, PHP in HTML, Global PHP and include files share one blocklist.

  • BlockShell commandsexec · system · shell_exec · passthru · `…`
  • BlockProcessespopen · proc_open · pcntl_exec
  • BlockDynamic codeeval · assert · create_function
  • BlockObfuscationbase64_decode
  • AllowWordPresshooks · WP_Query · $wpdb · REST API

A blocked name used as plain text, not called, does not trigger the check.

What developers say

Reviews of the free WP Coder on WordPress.org: rated 4.9 out of 5 from 32 reviews, with 10,000+ active installations.

  • WordPress.org · 5 stars

    “I know css/html/jquery but I have no experience creating WP plugins. For someone like me WP Coder makes it very easy to add custom code to WP. This plugin is fantastic!”

    JetteWP

    Review of WP Coder (free)

  • WordPress.org · 5 stars

    “This is the first plugin I’ve used for which I have no criticisms at all. It’s clean, simple, and works reliably, even when I fill it with fairly complex code.”

    markonrose

    Review of WP Coder (free)

  • WordPress.org · 5 stars

    “Amazing plugin and easy to use! I am happy I found this plugin and the support is AMAZING!!”

    themaras3

    Review of WP Coder (free)

Simple, one-time pricing

Every plan has all Pro features, lifetime updates and support. Pick the number of sites.

  • 1 site

    $29 one-time

    For the one site you run or build.

    • 1 site license
    • All Pro features
    • Lifetime updates
    • Lifetime support
    Buy for 1 site
  • 20 sites

    $49 one-time

    For agencies that ship to many sites.

    • 20 site licenses
    • All Pro features
    • Lifetime updates
    • Lifetime support
    Buy for 20 sites

15-day money-back guarantee. Not a fit? Ask for a full refund within 15 days.

One-time payment, no subscription · Secure checkout by Paddle

Common questions

At a glance

Price
From $29, one-time
Sites
1, 5 or 20 per license
Updates
Lifetime
Support
Lifetime, for license holders
Refunds
Within 15 days
Requires
WordPress 6.6+, PHP 8.0+

Didn’t find your answer?

Contact support
Can I try it before I buy?

Yes. The free version, WP Coder on WordPress.org, has the code editor, basic display rules and a block with 8 field types. Pro adds 12 more field types including repeaters, Loop Logic, visitor targeting, custom templates and the site tools. If Pro is not right for you, ask for a refund within 15 days.

Do I need to know how to code?

To build snippets, yes: you write the HTML and CSS yourself, and JavaScript or PHP when a snippet needs them. The people who later fill in a block’s fields in Gutenberg do not need to code.

Is it a subscription?

No. You pay once and get updates and support for life, for the number of sites in your plan.

Will it slow my site down?

A snippet’s CSS and JavaScript load only on pages where it is used, and can be minified. You can also remove scripts and styles other plugins load where they are not needed.

What if my PHP breaks the site?

Safe Mode switches off a snippet whose PHP stops the site with a fatal error, so the next page loads, and leaves an admin notice that links to it. Calls such as eval, exec and system are blocked before the code runs.

Does it work with my theme and page builder?

Yes. Snippets are Gutenberg blocks and shortcodes, so they work in any theme, in the Classic editor and in page builders that accept shortcodes. Custom page templates can also ignore the theme completely.

Can I move snippets to another site?

Yes. Export snippets as a JSON file and import them on another site; the icons a snippet uses travel with it.

Turn your next snippet into a block

Write the HTML once, list its fields, and hand your clients a block they can edit without breaking it.

One-time payment · 15-day money-back guarantee