Descripción
El plugin WP Headers and Footers te ayuda a insertar código en las secciones de cabecera y pie de página de tu sitio WordPress, como el código de seguimiento de Google Analytics, el código de Facebook Pixels, el código de Google Optimize para pruebas A/B, código CSS personalizado y más. No necesitas editar los archivos del tema para insertar el código.
La interfaz sencilla de este plugin te permite agregar código y diferentes scripts desde un solo lugar a tu sitio web WordPress (cabeceras, pies de página y sección del cuerpo).
Características
- Insertar código en las cabeceras y pies de página de tu WordPress
- Insertar código de Google Analytics en cualquier tema de WordPress
- Insertar código de Facebook Pixels
- Agregar código de Google Optimize para pruebas A/B (pruebas A/B)
- Agregar código de autenticación de Google Search Console a cualquier tema para la verificación
- Agrega CSS personalizado, cualquier script y HTML a tu sitio web
- Inserción de código/script de Google Tag Manager
- También puedes agregar el código de seguimiento de Microsoft Clarity a tu sitio web
- También puedes insertar código en la sección del cuerpo de tu sitio web
- Puede agregar el código de la herramienta para webmasters de Bing para la verificación del sitio web
- Agregar código de Google AdSense
Si encuentras útil nuestro plugin, por favor, deja una buena valoración/reseña y echa un vistazo a nuestros otros plugins.
- Analytify – Plugin de Google Analytics
- LoginPress – Para página de acceso personalizada y seguridad de la página de acceso
- Simple Social Buttons – Plugin para botones de compartir en redes sociales e íconos sociales
- Related Posts Thumbnails Plugin – Para entradas/productos relacionados
- Under Construction, Coming Soon & Maintenance Mode – Plugin para página en construcción y próximamente
Capturas de pantalla



Instalación
Esta sección describe cómo instalar el plugin WP Headers and Footers y ponerlo en funcionamiento.
1) Instalar
- Ve a la sección “Agregar nuevo plugin” del Escritorio de WordPress.
- Busca “WP Headers and Footers plugin”.
- Instálalo y luego actívalo.
2) Configurar
- Ve a la página Ajustes WP Headers and Footers
FAQ
-
¿Por qué se necesita este plugin?
-
Ayuda a los usuarios de WordPress a agregar código JS/CSS directamente en su sitio sin tocar sus temas o plugins.
-
Sí, puedes insertar el código de seguimiento de Google Analytics en tu sitio web con este plugin Headers and Footers.
-
Sí, puedes usar el plugin Headers and Footers para verificar tu sitio web en diferentes plataformas como Google Search Console, la herramienta para webmasters de Bing y la verificación de Pinterest, agregando el código de verificación en la sección de cabecera.
-
¿En cuántas secciones podemos insertar código con este plugin?
-
Puedes insertar código en las áreas de cabecera, cuerpo y pie de página de cualquier sitio WordPress.
Reseñas
Colaboradores & Desarrolladores
“Insert Headers And Footers” es software de código abierto. Las siguientes personas han contribuido a este plugin.
Colaboradores“Insert Headers And Footers” ha sido traducido en 10 idiomas. Gracias a los traductores por sus contribuciones.
Traduce “Insert Headers And Footers” a tu idioma.
¿Interesado en el desarrollo?
Revisa el código, echa un vistazo al repositorio SVN, o suscríbete al registro de desarrollo por RSS .
Historial de cambios
3.1.5 – 2026-07-16
- Enhancement: General code refactoring and internal cleanup.
- Compatibility: Compatible with WordPress 7.0.
- Compatibility: Compatible with PHP 8.5.
3.1.4 – 2026-03-17
- Security: Added nonce verification and capability checks to prevent CSRF attacks.
3.1.3 – 2025-08-06
- Bugfix: Fixed download log file functionality issue.
- Enhancement: Improved data validation and security measures.
- Enhancement: Addressed RTL layout styling inconsistencies in admin dashboard.
3.1.2 – 2025-04-18
- Security Fix: Sanitize option value from debug mode.
- Enhancement: Update Languages (POT) file.
- Compatibility: Compatible with WordPress 6.8
3.1.1 – 2025-01-03
- Bugfix: PHP Warning for translation hook.
3.1.0 – 2024-12-04
- New Feature: Introduced new option to reset the scripts/settings of the plugin.
- Compatibility: Compatible with WordPress 6.7
3.0.0 – 2024-09-11
- Security Fix: Fixed Opt-out and Opt-in consent.
- Enhancement: Code re-factorization and optimization.
2.2.2 – 2024-08-22
- Enhancement: Code re-factorization and optimization.
- Compatibility: Compatible with WordPress 6.6
2.2.1 – 2024-07-30
- Enhancement: Apply min/max limit for the script priority value.
- Compatibility: Compatible with WordPress 6.6
2.2.0 – 2024-03-18
- Enhancement: Provided admin role access in multi-site to update scripts.
- Enhancement: Addressed dashboard style issue to prevent text overflow.
- Enhancement: Optimized code for improved performance.
- Compatibility: Compatible with WordPress 6.5
2.1.1 – 2024-01-09
- Bugfix: Warning with PHP 8.3 in Diagnostic log.
- Enhancement: Update data in Diagnostic log.
- Compatibility: Compatible with PHP 8.3 and WordPress 6.4
2.1.0 – 2023-11-07
- New Feature: Introduced an option for removing the scripts/settings during un-installation of the plugin.
- Compatibility: Compatible with WordPress 6.4
2.0.3 – 2023-10-26
- Enhancement: Introduced diagnostic log feature helps in product support.
- Compatibility: Compatible with WordPress 6.3
2.0.2 – 2023-08-09
- Enhancement: content updates.
- Compatibility: Compatible with WordPress 6.3
2.0.1 – 2022-11-02
- Enhancement: Update Languages (POT) file.
- Compatibility: Compatible with WordPress 6.0
2.0.0 – 2022-05-19
- New Feature: Introducing settings to set the priority for each header, footer or body script’s location.
- Enhancement: Introducing new dashboard design layout.
- Enhancement: Added a review notification for administrator only.
- Compatibility: Compatible with WordPress 6.0
= 1.3.2 – 2022-02-18
* Enhancement: Added a filter wp_hnf_header_script to enhance the header scripts.
* Enhancement: Added a filter wp_hnf_body_script to enhance the body scripts.
* Enhancement: Added a filter wp_hnf_footer_script to enhance the footer scripts.
* Compatibility: Compatible with WordPress 5.9.
= 1.3.1 – 2021-12-01
* Enhancement: Code Optimization.
* Enhancement: Add compatibility of Mozilla Firefox on dashboard settings.
* Compatibility: Compatible with WordPress 5.8.
* Compatibility: Compatible with PHP 8.0.
= 1.3.0 – 2021-06-05
* New Feature: Introducing Code Editor for writing scripts.
* Bugfix: Plugin language domain updated to ‘wp-headers-and-footers’
* Enhancement: Dashboard design updated.
* Enhancement: Code Optimization.
* Compatibility: Compatible with WordPress 5.7.
= 1.2.2 – 2021-04-04
* Compatibility: Compatible with WordPress 5.7.
* Compatibility: PHP 8.0
* Enhancement: Code Optimization.
1.2.1 – 2020-12-08
- Compatibility: Compatible with WordPress 5.6.
- Bugfix: PHP Error.
1.2.0 – 2020-12-08
- Bugfix: Remove PHP 7 deprecated function.
1.1.0 – 2020-03-21
- Compatibility: Compatible with WordPress 5.4.
- Enhancement: Dashboard Design updated.
1.0.0
- Initial Release.
