Skip to content

Four-step service call timeline in WordPress

A “You call, we come, quote, work done” timeline for repair services and tradespeople, with an indicative lead time per step and an emergency or appointment switch that adapts those times, without JavaScript.

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

features-processus-intervention.php
<?php
/**
 * Plugin Name: Forge, Déroulé d'une intervention en 4 étapes
 * Description: Une frise « Vous appelez, nous nous déplaçons, devis, réalisation » pour dépanneur ou artisan, avec un délai indicatif par étape et un choix urgence ou rendez-vous qui adapte ces délais, sans JavaScript. Ajoute la composition « Déroulé d'une intervention en 4 étapes » à 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-features-processus-intervention
 *
pattern.html
<!-- wp:group {"tagName": "section", "className": "fpi", "layout": {"type": "default"}} -->
<section class="wp-block-group fpi"><!-- wp:group {"className": "fpi__head", "layout": {"type": "default"}} -->
<div class="wp-block-group fpi__head"><!-- wp:paragraph {"className": "fpi__eyebrow"} -->
<p class="fpi__eyebrow">Comment ça se passe</p>
<!-- /wp:paragraph -->
<!-- wp:heading {"level": 2, "className": "fpi__title", "anchor": "fpi-titre"} -->
<h2 class="wp-block-heading fpi__title" id="fpi-titre">Une intervention en 4 étapes, sans surprise</h2>
<!-- /wp:heading -->
<!-- wp:paragraph {"className": "fpi__intro"} -->
<p class="fpi__intro">Fuite, panne de chauffe-eau ou travaux à prévoir : voici ce qui se passe entre votre appel et la fin du chantier, avec les délais que nous tenons en temps normal.</p>
<!-- /wp:paragraph --></div>
<!-- /wp:group -->
style.css
:root {
  --fpi-text: #1c1917;
  --fpi-muted: #57534e;
  --fpi-card: #ffffff;
  --fpi-line: #e7e0d8;
  --fpi-accent: #9a3412;
  --fpi-accent-hover: #7c2d12;
  --fpi-accent-soft: #fdeee3;
  --fpi-accent-strong: #7c2d12;
  --fpi-on-accent: #ffffff;
  --fpi-radius: 1rem;
  --demo-features-processus-intervention-bg: #faf7f3;

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

Features components in WordPress
  • Three cards in saturated flat colours (yellow, pink, electric blue) with high-contrast text and a dark variant. Every colour pair is measured at AA: 5.5:1 at worst.

    • Tailwind
    • React
    • CSS
    • WordPress
    Component
  • Six features as frosted glass cards over a slowly drifting aurora mesh gradient. Pause button, still background under prefers-reduced-motion, CSS and a light script.

    • Tailwind
    • React
    • CSS
    • WordPress
    Component
  • The key message stays pinned while the background changes colour and illustration at each scroll step. CSS sticky, a light script, stacked cards as fallback under prefers-reduced-motion.

    • Tailwind
    • React
    • CSS
    • WordPress
    Component
  • A six-cell bento grid: key figures, SVG sparklines, a quote and icons. All the text is in the HTML and the animation is CSS only, with no script at all.

    • Tailwind
    • React
    • CSS
    • WordPress
    Component
  • A two-offer table: checked rows, a column highlighted from top to bottom and one call-to-action button per offer. Pure HTML and CSS, no script at all.

    • Tailwind
    • React
    • CSS
    • WordPress
    Component
  • A magazine-style article: title band, standfirst, drop cap, subheadings and a pull quote, set in three columns of equal height. Pure CSS, no script at all.

    • Tailwind
    • React
    • CSS
    • WordPress
    Component