Title: Easy Custom Code (LESS/CSS/JS) &#8211; Live Editing
Author: Yiannis Christodoulou
Published: <strong>11. oktober, 2019</strong>
Last modified: 25. mai, 2026

---

Søk i utvidelser

![](https://ps.w.org/easy-custom-code/assets/banner-772x250.jpg?rev=3548309)

![](https://ps.w.org/easy-custom-code/assets/icon-256x256.png?rev=3548309)

# Easy Custom Code (LESS/CSS/JS) – Live Editing

 Av [Yiannis Christodoulou](https://profiles.wordpress.org/yiannistaos/)

[Last ned](https://downloads.wordpress.org/plugin/easy-custom-code.1.1.3.zip)

 * [Detaljer](https://nb.wordpress.org/plugins/easy-custom-code/#description)
 * [Omtaler](https://nb.wordpress.org/plugins/easy-custom-code/#reviews)
 *  [Installering](https://nb.wordpress.org/plugins/easy-custom-code/#installation)
 * [Utvikling](https://nb.wordpress.org/plugins/easy-custom-code/#developers)

 [Brukerstøtte](https://wordpress.org/support/plugin/easy-custom-code/)

## Beskrivelse

The **[Easy Custom Code WordPress Plugin](https://www.web357.com/easy-custom-code-wordpress-plugin?utm_source=wp_ecc_repo&utm_medium=wp_listing_ecc&utm_campaign=wp_repo_link_ecc&utm_content=wp_repo_link_to_plugin_page_ecc)**
lets you easily customize your WordPress website by adding your own **LESS**, **
CSS**, and **JavaScript code** directly via the built-in WP Customizer. With this
plugin, there’s **no need for a child theme** or additional files. Simply insert
your custom code, and it will be compiled into a minified CSS file for styles and
a JavaScript file for scripts.

This lightweight plugin is designed for ease of use, providing a seamless and organized
way to manage custom styling and scripts without affecting core theme files.

### VIDEO (How it works?)

### FEATURES

 * Easily add custom LESS, CSS, and JavaScript to your site.
 * Manage unlimited external stylesheets and scripts via a modal window.
 * Control JavaScript placement (head or footer) for optimized performance.
 * Insert custom HTML in key areas:
    - Inside the `<head>` tag.
    - Immediately after the opening `<body>` tag.
    - Before the closing `</body>` tag.

### PRO FEATURES

 * **Minified CSS Output** – Option to enable automatic minification of compiled
   CSS.
 * **Full-Screen Editor** – Maximize the code editor for a distraction-free coding
   experience.

### What is LESS?

LESS is a CSS preprocessor that allows for variables, nested rules, mixins, and 
more, making your stylesheets more efficient and maintainable.

#### LESS code:

    ```
       @global_color: #FF0000;
       @global_font_size: 14px;
       @secondary_color: #CCC;

       body {
          color: @global_color;
          font-size: @global_font_size;
       }
       .container {
          color: @secondary_color;
          font-size: @global_font_size * 2;
       }
    ```

#### Outputs the following CSS:

    ```
       body {
          color: #FF0000;
          font-size: 14px;
       }
       .container {
          color: #CCC;
          font-size: 24px;
       }
    ```

For full LESS documentation, visit [lesscss.org](http://lesscss.org/).

### Demo

[Try Demo](https://demo.web357.com/wordpress/easy-custom-code/wp-admin/)
 `Username:
demo Password: demo

## Skjermbilder

 * [[
 * Add custom LESS/CSS styling directly from the WordPress Customizer.
 * [[
 * Insert custom JavaScript with ease.
 * [[
 * Manage external stylesheets.
 * [[
 * Add external scripts and choose their placement.
 * [[
 * Insert custom HTML snippets in key sections (head, body open, body close).
 * [[
 * Full-screen editor mode for an enhanced coding experience.
 * [[
 * View and edit minified CSS for optimal performance.
 * [[
 * Plugin settings panel for easy configuration.
 * [[

## Installasjon

This plugin is simple to install:

 1. Download the `easy-custom-code.zip` file.
 2. Extract the contents.
 3. Upload the `easy-custom-code` directory to `/wp-content/plugins/`.
 4. Navigate to the Plugins page in WordPress and activate the plugin.
 5. Configure your settings under `Settings > Easy Custom Code`.

## Ofte stilte spørsmål

### Why should I use Easy Custom Code instead of editing my theme’s style.css?

Editing theme files — or even a child theme — means your changes can break or disappear
after a theme update. Easy Custom Code stores all your custom LESS, CSS, JavaScript,
and HTML safely in the database and outputs them as separate, optimized files, so
your customizations survive every theme or WordPress update.

### Do I need to know LESS to use this plugin?

No. You can paste plain CSS into the LESS/CSS field and it will work exactly the
same. LESS is optional and is only useful if you want extra features such as variables,
nesting, and mixins for cleaner stylesheets.

### Where will my custom JavaScript load — in the head or in the footer?

You choose. Use the JS placement option to load your script either inside the `<
head>` (for example for tracking pixels or verification tags) or right before the
closing `</body>` tag (recommended for most scripts, for better page performance).

### Can I add Google Analytics, Meta Pixel, Google Tag Manager, or chat widgets?

Yes. Use the «Custom HTML in «, «After opening «, or «Before closing » sections 
to paste any tracking code, verification meta tag, or third-party widget — without
touching theme files.

### Does the plugin minify the compiled CSS?

Yes. The PRO version automatically minifies the compiled CSS for smaller file size
and faster page loads. The free version compiles your LESS/CSS into a single clean
stylesheet.

### Will my custom code load on every page of the site?

Yes. Styles and scripts added through the Customizer are loaded site-wide on the
frontend, keeping your branding consistent across all posts, pages, and custom post
types.

### Will my custom CSS and JS be deleted if I uninstall the plugin?

Yes. All custom LESS, CSS, JavaScript, and HTML added through this plugin will be
removed during uninstall, including the compiled CSS file. Make sure to back up 
your code first if you plan to reuse it later.

### Is Easy Custom Code compatible with caching and optimization plugins?

Yes. Because the compiled CSS and JS are written to physical files with unique names,
they work smoothly with popular caching plugins (e.g. WP Rocket, LiteSpeed Cache,
W3 Total Cache) and CDNs.

## Vurderinger

![](https://secure.gravatar.com/avatar/263fb7fea164acc8476afc3a98141477b332722b99249086c9faef65ccc89f26?
s=60&d=retro&r=g)

### 󠀁[I use it to all my sites](https://wordpress.org/support/topic/i-use-it-to-all-my-sites/)󠁿

 [Kostas Theologos](https://profiles.wordpress.org/kostasth53025/) 21. juli, 2020

Thanks, John!

![](https://secure.gravatar.com/avatar/921cec8ec7b812de972320e336f3b9aefde89a06adaa7fe5038e5fdcc4306464?
s=60&d=retro&r=g)

### 󠀁[Perfect plugin](https://wordpress.org/support/topic/perfect-plugin-847/)󠁿

 [skapator](https://profiles.wordpress.org/skapator/) 31. mars, 2020

Easiest way to add code on your site. This functionality is a must for any one. 
Well done.

![](https://secure.gravatar.com/avatar/d8e97128e93852df40849e5733a02643a547b9915318e4f6a3194505da46bd2a?
s=60&d=retro&r=g)

### 󠀁[Great Plugin](https://wordpress.org/support/topic/great-plugin-23301/)󠁿

 [thodorisit](https://profiles.wordpress.org/thodorisit/) 11. oktober, 2019

A must-have plugin for adding external libraries and custom css or js code in the
website, awesome work!

 [ Les alle 3 vurderinger ](https://wordpress.org/support/plugin/easy-custom-code/reviews/)

## Bidragsytere og utviklere

«Easy Custom Code (LESS/CSS/JS) – Live Editing» er programvare med åpen kildekode.
Følgende personer har bidratt til denne utvidelsen:

Bidragsytere

 *   [ Yiannis Christodoulou ](https://profiles.wordpress.org/yiannistaos/)
 *   [ web357 ](https://profiles.wordpress.org/web357/)

[Oversett «Easy Custom Code (LESS/CSS/JS) – Live Editing» til ditt språk.](https://translate.wordpress.org/projects/wp-plugins/easy-custom-code)

### Interessert i utvikling?

[Bla gjennom koden](https://plugins.trac.wordpress.org/browser/easy-custom-code/),
sjekk ut [SVN-repositoriet](https://plugins.svn.wordpress.org/easy-custom-code/),
eller abonner på [utviklingsloggen](https://plugins.trac.wordpress.org/log/easy-custom-code/)
med [RSS](https://plugins.trac.wordpress.org/log/easy-custom-code/?limit=100&mode=stop_on_copy&format=rss).

## Endringslogg

#### 25-May-2026 : v1.1.3

 * Full compatibility with WordPress 7.x.
 * Minor fixes and improvements.

#### 31-Jan-2025 : v1.1.2

 * Full compatibility with WordPress 6.7.x.
 * Minor fixes and improvements.

#### 27-Nov-2024 : v1.1.1

 * **Bug Fix:** HTML entities (e.g., `&gt;`, `&lt;`) are now properly decoded.
 * Minor fixes and performance improvements.

#### 12-Aug-2024 : v1.1.0

 * **Bug Fix:** LESS syntax errors for `&:focus` and `&:hover` resolved.

#### 19-Jul-2024 : v1.0.9

 * Full compatibility with WordPress 6.6.x.
 * LESS CSS compiler updated to v0.8.0.
 * Minor fixes and improvements.

#### 18-Apr-2024 : v1.0.8

 * Full compatibility with WordPress 6.5.x.
 * Minor fixes and improvements.

#### 23-Oct-2023 : v1.0.7

 * Full compatibility with WordPress 6.3.x.
 * Minor fixes and improvements.

#### 07-Jun-2023 : v1.0.6

 * **Compatibility:** Fully compatible with WordPress 6.2.
 * Minor fixes and improvements.

#### 14-Jun-2022 : v1.0.5

 * **Compatibility:** Fully compatible with WordPress 6.0.
 * Minor fixes and improvements.

#### 11-Feb-2022 : v1.0.4

 * **Compatibility:** Fully compatible with WordPress 5.9.
 * Minor fixes and improvements.

#### 28-Jul-2021 : v1.0.3

 * **Compatibility:** Fully compatible with WordPress 5.8.
 * Minor fixes and improvements.

#### 09-Apr-2021 : v1.0.2

 * **Compatibility:** Fully compatible with WordPress 5.7.
 * Minor fixes and improvements.

#### 16-Oct-2019 : v1.0.1

 * **New Feature:** Add custom code in the head tag.
 * **New Feature:** Add custom code right after the body tag opens.
 * **New Feature:** Add custom code before the closing body tag.
 * **Improvement:** Unique CSS and JS file names for better cache handling.
 * **Improvement:** Removed the manual CSS file name option; now, files are generated
   dynamically.
 * **Improvement:** Enhanced language file (.pot) with additional strings.

#### 08-Oct-2019 : v1.0.0

 * Initial beta release.

## Meta

 *  Versjon **1.1.3**
 *  Sist oppdatert **2 timer siden**
 *  Aktive installasjoner **100+**
 *  WordPress-versjon ** 5.3 eller nyere **
 *  Testet opp til **7.0**
 *  PHP-versjon ** 7.3 eller nyere **
 *  Språk
 * [English (US)](https://wordpress.org/plugins/easy-custom-code/)
 * Stikkord
 * [css](https://nb.wordpress.org/plugins/tags/css/)[customizer](https://nb.wordpress.org/plugins/tags/customizer/)
   [javascript](https://nb.wordpress.org/plugins/tags/javascript/)[less](https://nb.wordpress.org/plugins/tags/less/)
   [web357](https://nb.wordpress.org/plugins/tags/web357/)
 *  [Avansert visning](https://nb.wordpress.org/plugins/easy-custom-code/advanced/)

## Vurderinger

 5 av 5 stjerner.

 *  [  3 5-star reviews     ](https://wordpress.org/support/plugin/easy-custom-code/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/easy-custom-code/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/easy-custom-code/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/easy-custom-code/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/easy-custom-code/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/easy-custom-code/reviews/#new-post)

[Se alle omtalene](https://wordpress.org/support/plugin/easy-custom-code/reviews/)

## Bidragsytere

 *   [ Yiannis Christodoulou ](https://profiles.wordpress.org/yiannistaos/)
 *   [ web357 ](https://profiles.wordpress.org/web357/)

## Brukerstøtte

Har du noe å si? Trenger du hjelp?

 [Vis brukerstøtteforumet](https://wordpress.org/support/plugin/easy-custom-code/)

## Donér

Vil du støtte videreutviklingen av denne utvidelsen?

 [ Doner til denne utvidelsen ](https://www.paypal.me/web357)