Title: WP Add Custom CSS and JS
Author: D3 LOGICS
Published: <strong>14 de marzo de 2019</strong>
Last modified: 4 de junio de 2026

---

Buscar plugins

![](https://ps.w.org/wp-add-custom-css-and-javascript/assets/banner-772x250.jpg?
rev=3560597)

![](https://ps.w.org/wp-add-custom-css-and-javascript/assets/icon-128x128.png?rev
=3560864)

# WP Add Custom CSS and JS

 Por [D3 LOGICS](https://profiles.wordpress.org/d3logics/)

[Descargar](https://downloads.wordpress.org/plugin/wp-add-custom-css-and-javascript.2.0.1.zip)

 * [Detalles](https://es-co.wordpress.org/plugins/wp-add-custom-css-and-javascript/#description)
 * [Valoraciones](https://es-co.wordpress.org/plugins/wp-add-custom-css-and-javascript/#reviews)
 *  [Instalación](https://es-co.wordpress.org/plugins/wp-add-custom-css-and-javascript/#installation)
 * [Desarrollo](https://es-co.wordpress.org/plugins/wp-add-custom-css-and-javascript/#developers)

 [Soporte](https://wordpress.org/support/plugin/wp-add-custom-css-and-javascript/)

## Descripción

**WP Add Custom CSS and JS** lets you add custom CSS and custom JavaScript to your
WordPress website directly from the admin panel — without editing your theme, child
theme, or plugin files. Write your code in a professional editor with **syntax highlighting
and autocomplete**, and it is applied to your site instantly.

Add **as many separate snippets as you want**, manage them all from one screen, 
and decide exactly how and where each one loads. Every snippet can be **automatically
minified (compressed)** so your custom code never slows your site down.

This plugin is developed and maintained by [d3logics](https://d3logics.com/). Browse
all of our free WordPress plugins at [d3logics.com/plugins](https://d3logics.com/plugins).

New to this? Read our full step-by-step guide: [How to Add Custom CSS and JavaScript in WordPress](https://d3logics.com/how-to-add-custom-css-and-javascript-in-wordpress/).

#### Why use this plugin?

 * **Add custom CSS** to restyle your theme without touching theme files.
 * **Add custom JavaScript** for tracking codes, animations, widgets, and tweaks.
 * Your code is **safe when you switch or update your theme**.
 * Perfect for quick design fixes and adding third-party snippets.

#### Key Features

 * **Unlimited snippets** — add as many custom CSS and JS codes as you want.
 * **Management screen** — every snippet is listed in a table (like Posts) where
   you can edit, enable/disable, and delete.
 * **Live code editor** with syntax highlighting, line numbers, bracket matching,
   search, and **CSS / JavaScript autocomplete** (powered by CodeMirror).
 * **Per-snippet options:**
    - Print the code **inline (internal)** or save it to an **external cached file**.
    - Load the code in the **header** or the **footer**.
    - Apply the code on the **front end**, the **admin** area, or **both**.
 * **Automatic minification** — compress your CSS/JS for the fastest possible load
   time.
 * **External files are cached** — no database queries on the front end, so there
   is no performance hit.
 * **Keeps your code when you change themes.**
 * **Secure** — capability checks and WordPress nonces on every action.
 * **Lightweight, translation-ready, and works with any theme.**

#### Made by d3logics

Need a custom WordPress plugin, theme, or website? The team at [d3logics](https://d3logics.com/)
builds custom WordPress solutions. See more of our work and free plugins at [https://d3logics.com/plugins](https://d3logics.com/plugins).

## Capturas

[⌊Manage all your custom CSS and JS snippets from one table.⌉⌊Manage all your custom
CSS and JS snippets from one table.⌉[

Manage all your custom CSS and JS snippets from one table.

[⌊The custom CSS editor with syntax highlighting and autocomplete.⌉⌊The custom CSS
editor with syntax highlighting and autocomplete.⌉[

The custom CSS editor with syntax highlighting and autocomplete.

[⌊The custom JS editor with per-snippet options (internal/external, header/footer,
frontend/admin).⌉⌊The custom JS editor with per-snippet options (internal/external,
header/footer, frontend/admin).⌉[

The custom JS editor with per-snippet options (internal/external, header/footer,
frontend/admin).

## Instalación

 1. From the WordPress admin, go to **Plugins  Add New** and search for “WP Add Custom
    CSS and JS”, or upload the plugin ZIP.
 2. Click **Install Now**, then **Activate**.
 3. A new **Add Custom CSS & JS** menu appears in your admin sidebar.
 4. Click **Add Custom CSS** to add CSS, or **Add Custom JS** to add JavaScript.
 5. Write your code, choose your options, and click **Publish**. Your minified code
    is applied to the site immediately.

## FAQ

### How do I add custom CSS in WordPress?

Go to **Add Custom CSS & JS  Add Custom CSS**, write your CSS in the editor, choose
where it should load, and click **Publish**. It is applied to your whole site instantly—
no theme files touched. For a full walkthrough, see our guide: [How to Add Custom CSS and JavaScript in WordPress](https://d3logics.com/how-to-add-custom-css-and-javascript-in-wordpress/).

### How do I add custom JavaScript in WordPress?

Go to **Add Custom CSS & JS  Add Custom JS**, write your JS, and click **Publish**.

### Can I add more than one CSS or JS code?

Yes. You can add unlimited separate snippets. Each one has its own title, options,
and on/off state, and they are all listed in the management table.

### What is the difference between “Internal” and “External”?

**Internal** prints the code inline directly in the page. **External** saves the
code to a cached `.css`/`.js` file that loads as a normal file — best for larger
code and performance.

### Does it minify (compress) my code?

Yes. With “Minify output” enabled (the default), each snippet is automatically compressed
when you save it.

### Will this plugin slow down my site?

No. External snippets are served as cached static files and minified output keeps
them small, so there are no extra database queries on the front end.

### My code does not show on the website. What should I do?

 1. If you use a caching plugin, clear the cache after saving.
 2. Make sure the snippet status is **Published** (not Draft or Trash).
 3. Confirm the snippet’s “Apply on” option matches where you are looking (Front end
    vs Admin).
 4. Check that the `wp-content/uploads/wp-add-custom-css-and-javascript` folder exists
    and is writable (used for external files).

### Will my code be lost if I change my theme?

No. Your custom CSS and JS are stored independently of the theme, so they stay active
when you switch or update themes.

### Can I reference an image in my CSS?

Yes. Upload the image to your Media Library, then refer to it by its direct URL 
inside your CSS, for example:
 body { background-image: url(‘https://example.com/
wp-content/uploads/2026/01/bg.jpg’); }

### Can I use CSS rules like @import and @font-face?

Yes. Your CSS is output exactly as written.

### Who can add or edit the code?

Only administrators (users with the `edit_theme_options` capability) can add, edit,
or delete custom CSS/JS. Every action is also protected by a WordPress nonce.

### Does it work on Multisite?

Yes, the plugin works on a WordPress Multisite network (activate it per site).

### Where can I get support or more plugins?

This plugin is built by [d3logics](https://d3logics.com/). Visit [d3logics.com/plugins](https://d3logics.com/plugins)
for support and our other free WordPress plugins.

## Reseñas

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

### 󠀁[Excellent Plugin for Adding Custom CSS & JavaScript](https://wordpress.org/support/topic/excellent-plugin-for-adding-custom-css-javascript/)󠁿

 [vinit sharma](https://profiles.wordpress.org/vinit-sharma/) 4 de junio de 2026

Great plugin! Very easy to add custom CSS and JavaScript without modifying theme
files. Lightweight, simple to use, and works exactly as expected. Highly recommended
for WordPress users and developers.

 [ Leer la 1 reseña ](https://wordpress.org/support/plugin/wp-add-custom-css-and-javascript/reviews/)

## Colaboradores y desarrolladores

«WP Add Custom CSS and JS» es un software de código abierto. Las siguientes personas
han colaborado con este plugin.

Colaboradores

 *   [ D3 LOGICS ](https://profiles.wordpress.org/d3logics/)
 *   [ vinit sharma ](https://profiles.wordpress.org/vinit-sharma/)
 *   [ shubham715 ](https://profiles.wordpress.org/devshubham715/)

[Traduce «WP Add Custom CSS and JS» a tu idioma.](https://translate.wordpress.org/projects/wp-plugins/wp-add-custom-css-and-javascript)

### ¿Interesado en el desarrollo?

[Revisa el código](https://plugins.trac.wordpress.org/browser/wp-add-custom-css-and-javascript/),
echa un vistazo al [repositorio SVN](https://plugins.svn.wordpress.org/wp-add-custom-css-and-javascript/)
o suscríbete al [registro de desarrollo](https://plugins.trac.wordpress.org/log/wp-add-custom-css-and-javascript/)
por [RSS](https://plugins.trac.wordpress.org/log/wp-add-custom-css-and-javascript/?limit=100&mode=stop_on_copy&format=rss).

## Registro de cambios

#### 2.0.1

 * Packaging fix to ensure all 2.0 files are published correctly.
 * Improved plugin page content, FAQs, and SEO.

#### 2.0.0

 * New: Add **unlimited** custom CSS and JS snippets, each managed from a list table
   like Posts.
 * New: **Per-snippet options** — internal (inline) or external (cached file), header
   or footer, and front end / admin / both.
 * New: **Autocomplete** in the editor for CSS properties and JavaScript.
 * New: Each snippet can be enabled or disabled independently.
 * New: Existing CSS/JS from version 1.x is automatically imported into snippets
   on upgrade.
 * Security: Capability checks and nonce verification throughout; PHP 8 compatible.

#### 1.1.0

 * New: Published CSS and JS are automatically minified (compressed) for faster 
   page loads.
 * Fix: Removed `get_magic_quotes_gpc()`, which caused a fatal error on PHP 8.0+.
 * Security: Added nonce verification to all AJAX actions and escaped all output.

#### 1.0.1

 * Minor fixes.

#### 1.0.0

 * Initial release.

## Meta

 *  Versión **2.0.1**
 *  Última actualización **hace 1 semana**
 *  Instalaciones activas **10+**
 *  Versión de WordPress ** 4.7 o superior **
 *  Probado hasta **6.8.5**
 *  Versión de PHP ** 7.0 o superior **
 *  Idioma
 * [English (US)](https://wordpress.org/plugins/wp-add-custom-css-and-javascript/)
 * Etiquetas
 * [add style](https://es-co.wordpress.org/plugins/tags/add-style/)[custom css](https://es-co.wordpress.org/plugins/tags/custom-css/)
   [custom javascript](https://es-co.wordpress.org/plugins/tags/custom-javascript/)
   [custom js](https://es-co.wordpress.org/plugins/tags/custom-js/)[customize theme](https://es-co.wordpress.org/plugins/tags/customize-theme/)
 *  [Vista avanzada](https://es-co.wordpress.org/plugins/wp-add-custom-css-and-javascript/advanced/)

## Valoraciones

 5 de 5 estrellas.

 *  [  1 valoración de 5 estrellas     ](https://wordpress.org/support/plugin/wp-add-custom-css-and-javascript/reviews/?filter=5)
 *  [  0 valoraciones de 4 estrellas     ](https://wordpress.org/support/plugin/wp-add-custom-css-and-javascript/reviews/?filter=4)
 *  [  0 valoraciones de 3 estrellas     ](https://wordpress.org/support/plugin/wp-add-custom-css-and-javascript/reviews/?filter=3)
 *  [  0 valoraciones de 2 estrellas     ](https://wordpress.org/support/plugin/wp-add-custom-css-and-javascript/reviews/?filter=2)
 *  [  0 valoraciones de 1 estrellas     ](https://wordpress.org/support/plugin/wp-add-custom-css-and-javascript/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/wp-add-custom-css-and-javascript/reviews/#new-post)

[Ver todos los comentarios](https://wordpress.org/support/plugin/wp-add-custom-css-and-javascript/reviews/)

## Colaboradores

 *   [ D3 LOGICS ](https://profiles.wordpress.org/d3logics/)
 *   [ vinit sharma ](https://profiles.wordpress.org/vinit-sharma/)
 *   [ shubham715 ](https://profiles.wordpress.org/devshubham715/)

## Soporte

¿Tienes algo que decir? ¿Necesitas ayuda?

 [Ver el foro de soporte](https://wordpress.org/support/plugin/wp-add-custom-css-and-javascript/)

## Donar

¿Te gustaría apoyar el progreso de este plugin?

 [ Dona a este plugin ](https://d3logics.com)