An essential WordPress plugin to easily insert scripts and styles (like Google Analytics, CSS, etc.) into your website’s header and footer.
Looking for a way to add Google Analytics, Facebook Pixel, or custom tracking code to your website’s header or footer?
Header and Footer Scripts is a simple yet powerful plugin that lets you inject code—such as Google Analytics, custom CSS, Facebook Pixel, and chat widgets—directly into your site’s header (<head>) or footer.
No bloat, no ads. This lightweight plugin simply does what it says: inserts code into your header and footer efficiently.
Todo lo que tienes que hacer es añadir el código HTML apropiado.
No olvides envolver tu código con las etiquetas adecuadas.
<script type="text/javascript">
YOUR JS CODE HERE
</script>
O para CSS:
<style type="text/css">
YOUR CSS CODE HERE
</style>
Por qué usar este plugin:
- Insert scripts globally into the header and footer of your entire website.
- Supports all script types including HTML, JavaScript, and CSS.
- Add specific scripts to the header of individual posts or pages.
- Insertar código en tipos de contenido personalizado [nueva característica].
El plugin debería ser compatible con WooCommerce.
Lo que no ofrece
- No puedes insertar o ejecutar códigos PHP.
Casi todos los temas de WordPress son compatibles con este plugin «Header and Footer Scripts». Si los códigos no aparecen en tu sitio web, solicita asistencia o comprueba si tu archivo de tema tiene los ganchos estándar wp_head y wp_footer.
Enlaces importantes
Para obtener más información, puedes seguir estos enlaces:
