Write HTML, CSS, JavaScript and PHP, turn snippets into Gutenberg blocks with fields, and decide where, when and for whom they run.
Code Editor
13 articles
- All Codes: Managing Snippets The snippet list — switch snippets on and off, filter by tag, pin, duplicate, export and run bulk actions.
- Editor Screen & Sidebar The snippet editor — tabs, the Save bar and every field of the sidebar: Active, Test mode, Shortcode, Tags, Link…
- HTML Code The HTML tab — Live Preview, Add Image, Minified output, NAV comments and editor shortcuts, plus Pro's QuickCode, Icons, PHP…
- CSS Code The CSS tab — file or inline output and minification, plus Pro's combined per-page files, media-query helpers and attribute variables.
- JS Code The JS tab — jQuery, inline or file output, minify or obfuscate, defer/async — and Pro's automatic jQuery and combined…
- PHP Code The PHP tab — where and when the code runs, attribute variables, helper functions, forbidden functions and error handling.
- Attributes & Block Fields Turn a snippet into a block with settings — 8 field types with image sub-variables, and in Pro 20 types…
- Conditions: Where, When and for Whom Display and Location decide whether and where a snippet is inserted automatically; in Pro, Display Rules and users, schedule, device,…
- Scripts & Styles Load external CSS and JS files with a snippet — and in Pro remove theme or plugin files on the…
- The WP Coder Snippet Block Place any snippet in the block editor, fill its fields in the sidebar and preview it — and in Pro…
- Page Templates PRO Replace the theme template with a snippet, add your own templates to the Template list, or use the WP Coder…
- Global PHP One site-wide PHP area — like functions.php, but it survives theme changes. When to use it instead of a snippet,…
- PHP Errors & Safe Mode How WP Coder catches PHP errors, switches broken snippets off automatically, and how to get back into a site with…