Skip to content

Social media footer in WordPress

Cards linking to each social network with the reason to follow, for clubs and associations.

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

Open in a new tab

The code in WordPress

footer-reseaux-sociaux.php
<?php
/**
 * Plugin Name: Forge, Pied de page réseaux sociaux
 * Description: Des cartes vers chaque réseau social, avec l'intérêt de suivre le compte, pour les clubs et associations. Ajoute la composition « Pied de page réseaux sociaux » à 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-reseaux-sociaux
 *
pattern.html
<!-- wp:group {"tagName": "footer", "className": "social", "layout": {"type": "default"}} -->
<footer class="wp-block-group social"><!-- wp:group {"className": "social__inner", "layout": {"type": "default"}} -->
<div class="wp-block-group social__inner"><!-- wp:heading {"level": 2} -->
<h2 class="wp-block-heading">Suivez la vie du club</h2>
<!-- /wp:heading -->
<!-- wp:html -->
<ul class="social__cards">
            <li><a href="#instagram"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><rect x="3.5" y="3.5" width="17" height="17" rx="5"/><circle cx="12" cy="12" r="4"/><circle cx="17.2" cy="6.8" r="0.6"/></svg><strong>Instagram</strong><span>@club.envol</span><small>Photos des entraînements</small></a></li>
      <li><a href="#facebook"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="12" cy="12" r="8.5"/><path d="M13 20.5v-7h2.4l.4-2.8H13V9.2c0-.8.3-1.3 1.4-1.3H16V5.4a17 17 0 0 0-2.1-.1c-2 0-3.4 1.2-3.4 3.5v1.9H8.3v2.8h2.2v7"/></svg><strong>Facebook</strong><span>Club Envol Triathlon</span><small>Actualités et événements</small></a></li>
      <li><a href="#youtube"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><rect x="2.5" y="5.5" width="19" height="13" rx="4"/><path d="m10 9.2 5 2.8-5 2.8Z"/></svg><strong>YouTube</strong><span>Envol TV</span><small>Conseils techniques en vidéo</small></a></li>
      <li><a href="#mail"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><rect x="3" y="5" width="18" height="14" rx="2"/><path d="m4 7 8 6 8-6"/></svg><strong>Lettre du club</strong><span>Chaque mois</span><small>Résultats et calendrier</small></a></li>
          </ul>
style.css
:root {
  --social-bg: #ecfeff;
  --social-card: #ffffff;
  --social-line: #a5f3fc;
  --social-text: #155e75;
  --social-strong: #083344;
  --social-accent: #0e7490;
  --social-ring: #0e7490;
  --demo-footer-reseaux-sociaux-bg: #ffffff;
  --demo-footer-reseaux-sociaux-text: #083344;
}

Free component: copy it freely, including for commercial projects.

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
    Component
  • 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
    Component
  • A dark footer with brand, social links and a four-column sitemap that turns into collapsible sections on mobile.

    • Tailwind
    • React
    • CSS
    • WordPress
    Component
  • A highlighted invitation to subscribe, followed by the essential links.

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

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

    • Tailwind
    • React
    • CSS
    • WordPress
    Component