Footer with optional credit line 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.
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 mention de crédit facultative
* Description: Un pied de page complet (présentation, coordonnées, plan du site, mentions légales) où le lien « Réalisé avec Forge » est un paragraphe isolé : vous pouvez le garder ou le supprimer, la mise en page ne bouge pas. Ajoute la composition « Pied de page avec mention de crédit facultative » à 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-credit-discret-licence
*<!-- wp:group {"tagName": "footer", "className": "fcdl", "layout": {"type": "default"}} -->
<footer class="wp-block-group fcdl"><!-- wp:group {"className": "fcdl__top", "layout": {"type": "default"}} -->
<div class="wp-block-group fcdl__top"><!-- wp:group {"className": "fcdl__brand", "layout": {"type": "default"}} -->
<div class="wp-block-group fcdl__brand"><!-- wp:paragraph {"className": "fcdl__name"} -->
<p class="fcdl__name">Atelier Ostra</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph {"className": "fcdl__pitch"} -->
<p class="fcdl__pitch">Architecture d’intérieur pour appartements, maisons et commerces, de la première esquisse à la réception du chantier, à Bordeaux et dans toute la Gironde.</p>
<!-- /wp:paragraph -->
<!-- wp:html -->
<ul class="fcdl__contact" aria-label="Coordonnées">
<li><a class="fcdl__link" href="tel:+33556482137">05 56 48 21 37</a></li>:root {
--fcdl-bg: #f5f1ea;
--fcdl-text: #1c1917;
--fcdl-muted: #57534e;
--fcdl-line: #d6d3d1;
--fcdl-accent: #9a3412;
--fcdl-gap: 2.5rem;
--fcdl-font: system-ui, -apple-system, "Segoe UI", sans-serif;
--demo-footer-credit-discret-licence-bg: #f5f1ea;
--demo-footer-credit-discret-licence-text: #1c1917;
}
Free component: copy it freely, including for commercial projects.
Other footers components in WordPress
Footers components in 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

A highlighted invitation to subscribe, followed by the essential links.
- 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