Skip to content

Product changelog page in WordPress

A ready-to-publish changelog page: dated, versioned notes grouped by month, each with a type badge (new, improvement, fix), module tags and filters that announce how many notes are shown.

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

page-changelog-journal-produit.php
<?php
/**
 * Plugin Name: Forge, Page de journal des nouveautés
 * Description: Une page de changelog prête à publier : notes datées et versionnées, regroupées par mois, avec une étiquette de type (nouveauté, amélioration, correctif), des étiquettes de module et des filtres qui annoncent le nombre de notes affichées. Ajoute la composition « Page de journal des nouveautés » à 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-page-changelog-journal-produit
 *
pattern.html
<!-- wp:html -->
<article class="pcjl" aria-labelledby="pcjl-title" data-pcjl>
        <header class="pcjl__head">
          <p class="pcjl__kicker">Planeo</p>
          <h1 class="pcjl__title" id="pcjl-title">Journal des nouveautés</h1>
          <p class="pcjl__lede">Ce qui change dans Planeo, mois après mois : nouvelles fonctions, améliorations et correctifs. Les mises à jour s’installent toutes seules, sans interruption de service.</p>
          <p class="pcjl__updated">Dernière mise à jour : <time datetime="2026-11-18">18 nov. 2026</time></p>
        </header>
        <div class="pcjl__filters" role="group" aria-label="Filtrer par type de changement" data-pcjl-filters hidden>
          <button type="button" class="pcjl__filter" data-pcjl-filter="all" aria-pressed="true">Tout <span class="pcjl__count">9</span></button>
          <button type="button" class="pcjl__filter" data-pcjl-filter="new" aria-pressed="false">Nouveautés <span class="pcjl__count">3</span></button>
          <button type="button" class="pcjl__filter" data-pcjl-filter="improvement" aria-pressed="false">Améliorations <span class="pcjl__count">3</span></button>
script.js
(() => {
  if (!document.querySelector(".pcjl")) return;
  document.querySelectorAll("[data-pcjl]").forEach((root) => {
    const buttons = [...root.querySelectorAll("[data-pcjl-filter]")];
    const entries = [...root.querySelectorAll("[data-pcjl-type]")];
    const months = [...root.querySelectorAll("[data-pcjl-month]")];
    const status = root.querySelector("[data-pcjl-status]");
    const words = {
      all: ["note affichée", "notes affichées"],
      new: ["nouveauté affichée", "nouveautés affichées"],
      improvement: ["amélioration affichée", "améliorations affichées"],
      fix: ["correctif affiché", "correctifs affichés"],
style.css
:root {
  --pcjl-text: #0f172a;
  --pcjl-muted: #475569;
  --pcjl-body: #334155;
  --pcjl-card: #ffffff;
  --pcjl-line: #e2e8f0;
  --pcjl-chip-line: #cbd5e1;
  --pcjl-tag: #f1f5f9;
  --pcjl-accent: #4338ca;
  --pcjl-accent-text: #ffffff;
  --pcjl-count: rgb(0 0 0 / 10%);
  --pcjl-new-bg: #dcfce7;

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

Error pages components in WordPress
  • Ready-to-fill terms of sale for a showcase site selling to consumers: seller, ordering, prices, delivery, withdrawal with a copyable form, statutory warranties and mediation, with 26 highlighted fields to complete and a side table of contents that follows the reader.

    • Tailwind
    • React
    • CSS
    • WordPress
    Component
  • A ready-to-fill GDPR privacy policy for a showcase site: controller, data collected, purposes, retention periods, recipients, rights and cookies, with 24 highlighted fields to complete and a side table of contents that follows the reader.

    • Tailwind
    • React
    • CSS
    • WordPress
    Component
  • A ready-to-fill French legal notice page: publisher, host, SIRET, contact, intellectual property and personal data, with 16 highlighted fields to complete and a side table of contents that follows the reader.

    • Tailwind
    • React
    • CSS
    • WordPress
    Component
  • The page shown after a quote request or contact message: clear confirmation, announced response time, printable summary, next steps and useful links.

    • Tailwind
    • React
    • CSS
    • WordPress
    Component
  • A page shown during maintenance, with the expected return time and ways to stay informed.

    • Tailwind
    • React
    • CSS
    • WordPress
    Component
  • A clean not-found page with a large error code, a search field and links to the main sections.

    • Tailwind
    • React
    • CSS
    • WordPress
    Component