Title: Add Custom Codes &#8211; Insert Header, Footer, Custom PHP Snippets, CSS, Javascript
Author: SaifuMak
Published: <strong>11 de marzo de 2017</strong>
Last modified: 22 de mayo de 2026

---

Buscar plugins

![](https://ps.w.org/add-custom-codes/assets/banner-772x250.jpg?rev=3283753)

![](https://ps.w.org/add-custom-codes/assets/icon.svg?rev=3283753)

# Add Custom Codes – Insert Header, Footer, Custom PHP Snippets, CSS, Javascript

 Por [SaifuMak](https://profiles.wordpress.org/saifumak/)

[Descargar](https://downloads.wordpress.org/plugin/add-custom-codes.5.0.zip)

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

 [Soporte](https://wordpress.org/support/plugin/add-custom-codes/)

## Descripción

Add custom codes to your wordpress website. You can add custom PHP Functions, HTML,
custom CSS, Javascript, Google Analytics, Search Console verification tags or other
code snippets to your site.

**Features**

 * 100% free wordpress plugin, no paid upgrades needed!
 * Add PHP Snippets, Custom CSS, Javascript, Google Analytics, Facebook Scripts,
   Meta Verification Codes, Search console verification and other codes to your 
   wordpress website easily.
 * Generate Shortcodes for HTML Snippets and use it anywhere on the site!
 * Syntax highlighter enabled with Light and Dark Mode Editors
 * Classify snippets using tags
 * Add Notes to Snippets
 * Activate/Inactivate snippets with a single click
 * Auto-deactivate feature for PHP snippets that causes errors.
 * Add Custome Codes globally or on individual posts, pages, products and even on
   custom post types.
 * Option to select where to put snippets: before _</head>_ or before _</body>_ 
   etc.
 * Import/Export Snippets to use on other sites.

## Capturas

 * [[
 * Global Custom CSS, Header Codes, Footer Codes
 * [[
 * PHP functions
 * [[
 * HTML Snippets with auto-generated Shortcode
 * [[
 * Javascript snippets
 * [[
 * CSS Snippets
 * [[
 * Dark Mode Editor
 * [[
 * Snippets listing page
 * [[
 * Snippet auto-deactivation feature
 * [[
 * Header and Footer codes for Pages, Posts, Taxonomies etc.

## Instalación

 1. Install the plugin through `Plugins -> Add New` or Upload the plugin files to the`/
    wp-content/plugins/add-custom-codes` directory
 2. Activate ‘Add Custom Codes’ plugin through the ‘Plugins’ page in WordPress
 3. Go to ‘Dashboard -> Add Custom Codes’ to start using

## FAQ

### Plugin is not working for me. Why?

Make sure that your theme has ‘wp_head()’ call in header.php file and ‘wp_footer()’
call in footer.php file. Also make sure that you have added the right codes in plugin
settings. Also Make sure to clear cache after updating codes in plugin settings.

### Is this plugin safe from hackers?

The plugin is tested well and is safe to use on your website.

### Does the plugin take too long to load?

This is a light-weight plugin which do not affect website performance. But if you
feel so, please check if you are loading scripts on header section. It is always
better to load most scripts in footer section of a website so that the page content
can load easily.

### Do you provide plugin support?

Yes, I am happy to provide support for free of cost.

### Plugin layout looks broken after update. How do I fix?

Please clear your wordpress cache if you are using a caching plugin or service. 
Also try clearing browser cache.

## Reseñas

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

### 󠀁[Very good](https://wordpress.org/support/topic/very-good-7718/)󠁿

 [vmadien](https://profiles.wordpress.org/vmadien/) 7 de enero de 2026

Works perfectly. The syntax highlighter is sometimes incorrect, but it doesn’t affect
functionality. Thanks to the developers.

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

### 󠀁[Easy to use](https://wordpress.org/support/topic/easy-to-use-4972/)󠁿

 [Ehsan Fotoohabadi](https://profiles.wordpress.org/ehsanfotoo/) 8 de abril de 2024

Very good and easy to use

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

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

 [anilnarayanan](https://profiles.wordpress.org/anilnarayanan/) 1 de septiembre 
de 2022

This is the plugin I’m waiting for a long time while,and I’m very happy with this
plugin

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

### 󠀁[Perfect!!](https://wordpress.org/support/topic/perfect-but-it-has-a-bug/)󠁿

 [sergiohentz](https://profiles.wordpress.org/sergiohentz/) 8 de junio de 2022 2
respuestas

NEW COMMENT: YESSSSSSSSS! Thank you a lot!! 😀 Old comment already fixed! OLD COMMENT:
The plugin has a bug. When active, wp-admin’s «select all» function no longer works
on pages, posts, images, etc

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

### 󠀁[Does what it sounds like](https://wordpress.org/support/topic/does-what-it-sounds-like/)󠁿

 [donygarvasis](https://profiles.wordpress.org/donygarvasis/) 31 de enero de 2022

If you are looking for a simple solution to add code snippets, this plugin could
be one of your best choices. It doesn’t require any configuration.

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

### 󠀁[Works fast](https://wordpress.org/support/topic/works-fast-2/)󠁿

 [SaifuMak](https://profiles.wordpress.org/saifumak/) 17 de marzo de 2017

Plugin works faster. Contact support if any problem happens.

 [ Leer todas las 6 reseñas ](https://wordpress.org/support/plugin/add-custom-codes/reviews/)

## Colaboradores y desarrolladores

«Add Custom Codes – Insert Header, Footer, Custom PHP Snippets, CSS, Javascript»
es un software de código abierto. Las siguientes personas han colaborado con este
plugin.

Colaboradores

 *   [ SaifuMak ](https://profiles.wordpress.org/saifumak/)

[Traduce «Add Custom Codes – Insert Header, Footer, Custom PHP Snippets, CSS, Javascript» a tu idioma.](https://translate.wordpress.org/projects/wp-plugins/add-custom-codes)

### ¿Interesado en el desarrollo?

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

## Registro de cambios

#### 1.0

 * Initial Release

#### 2.0

 * Tested to work on latest WordPress version

#### 3.0

 * Tested to work on latest WordPress version
 * Replaced text editor.

#### 4.0

 * Tested to work on latest WordPress version
 * Bug fixes and improvements.
 * Added support for individual posts, pages, woocommerce products and even custom
   post types.
 * Option to put CSS in header or footer of website.

#### 4.1

 * Tweaks and improvements for the Version 4.0 released earlier.

#### 4.2

 * Fixed a reported bug: users were not able to select all pages or posts on WordPress
   admin screen.

#### 4.3

 * Bugfixes and improvements
 * Tested to work with WordPress 6.0

#### 4.4

 * Bugfixes and improvements

#### 4.5

 * Tested to work with latest WordPress

#### 4.6

 * Tested to work with latest WordPress

#### 4.7

 * Bugfixes and improvements
 * Tested to work with latest WordPress
 * Option to Add custom codes to taxonomy pages

#### 4.71

 * Fixed a bug with css inputs

#### 4.8

 * Major update with a fantastic feature: Snippets
 * Add PHP Functions, HTML, CSS, Javascript as snippets
 * Tags and Notes for Snippets
 * Light Mode or Dark Mode editor
 * Import/Export Snippets

#### 5.0

 * Major update with security and vulnerability issues fixed
 * Added guide text to snippets for beginners to easily understand the plugin.

## Meta

 *  Versión **5.0**
 *  Última actualización **hace 1 semana**
 *  Instalaciones activas **1.000+**
 *  Versión de WordPress ** 6.6.2 o superior **
 *  Probado hasta **7.0**
 *  Versión de PHP ** 7.4 o superior **
 *  Idioma
 * [English (US)](https://wordpress.org/plugins/add-custom-codes/)
 * Etiquetas:
 * [custom codes](https://es.wordpress.org/plugins/tags/custom-codes/)[custom css](https://es.wordpress.org/plugins/tags/custom-css/)
 *  [Vista avanzada](https://es.wordpress.org/plugins/add-custom-codes/advanced/)

## Valoraciones

 5 de 5 estrellas.

 *  [  6 valoraciones de 5 estrellas     ](https://wordpress.org/support/plugin/add-custom-codes/reviews/?filter=5)
 *  [  0 valoraciones de 4 estrellas     ](https://wordpress.org/support/plugin/add-custom-codes/reviews/?filter=4)
 *  [  0 valoraciones de 3 estrellas     ](https://wordpress.org/support/plugin/add-custom-codes/reviews/?filter=3)
 *  [  0 valoraciones de 2 estrellas     ](https://wordpress.org/support/plugin/add-custom-codes/reviews/?filter=2)
 *  [  0 valoraciones de 1 estrellas     ](https://wordpress.org/support/plugin/add-custom-codes/reviews/?filter=1)

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

[Ver todas las valoraciones](https://wordpress.org/support/plugin/add-custom-codes/reviews/)

## Colaboradores

 *   [ SaifuMak ](https://profiles.wordpress.org/saifumak/)

## Soporte

¿Tienes algo que decir? ¿Necesitas ayuda?

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

## Donar

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

 [ Dona a este plugin ](https://donate.stripe.com/9AQdRz5xJ87c9i0bIS)