Footer with newsletter in WordPress
A highlighted invitation to subscribe, followed by the essential links.
Here is an excerpt of this component's code in WordPress. The full code is free for members, ready to copy into your project.
This component also comes in
The code in WordPress
<?php
/**
* Plugin Name: Forge, Pied de page avec lettre d'information
* Description: Une invitation à s'abonner mise en avant, suivie des liens essentiels. Ajoute la composition « Pied de page avec lettre d'information » à l'éditeur de blocs.
* Version: 1.0.0
* Requires at least: 6.6
* Requires PHP: 8.1
* Author: Forge
* License: GPL-2.0-or-later
* License URI: https://www.gnu.org/licenses/gpl-2.0.html
* Text Domain: forge-footer-newsletter
*<!-- wp:group {"tagName": "footer", "className": "letter", "layout": {"type": "default"}} -->
<footer class="wp-block-group letter"><!-- wp:group {"className": "letter__inner", "layout": {"type": "default"}} -->
<div class="wp-block-group letter__inner"><!-- wp:group {"className": "letter__intro", "layout": {"type": "default"}} -->
<div class="wp-block-group letter__intro"><!-- wp:heading {"level": 2} -->
<h2 class="wp-block-heading">Les recettes de saison, chaque mois</h2>
<!-- /wp:heading -->
<!-- wp:paragraph -->
<p>Une lettre par mois avec les produits du moment et une recette du chef. Désinscription en un clic.</p>
<!-- /wp:paragraph --></div>
<!-- /wp:group -->
<!-- wp:html -->
<form class="letter__form" action="#inscription">:root {
--letter-bg: #14532d;
--letter-text: #dcfce7;
--letter-strong: #ffffff;
--letter-field: #ffffff;
--letter-field-text: #052e16;
--letter-button: #bef264;
--letter-button-text: #1a2e05;
--letter-line: rgb(220 252 231 / 0.25);
--letter-ring: #bef264;
--demo-footer-newsletter-bg: #f0fdf4;
--demo-footer-newsletter-text: #052e16;Free component: copy it freely, including for commercial projects.
Other footers components in WordPress
Footers components in WordPress
A complete footer (introduction, contact details, sitemap, legal links) where the Made with Forge link is a standalone paragraph: keep it or delete it, the layout stays the same.
- Tailwind
- React
- CSS
- WordPress

A footer for building tradespeople: contact details and a call button, service area with the towns covered, opening hours, then the details a French professional must display (SIRET, VAT number, registration, ten-year liability insurance with insurer and coverage, consumer mediator) and the legal links.
- Tailwind
- React
- CSS
- WordPress

A dark footer with brand, social links and a four-column sitemap that turns into collapsible sections on mobile.
- Tailwind
- React
- CSS
- WordPress

Cards linking to each social network with the reason to follow, for clubs and associations.
- Tailwind
- React
- CSS
- WordPress

Logo, one line of links and the copyright, centered and airy.
- Tailwind
- React
- CSS
- WordPress

A single strip with copyright, legal pages, cookie settings and back to top.
- Tailwind
- React
- CSS
- WordPress