Daily menu card in WordPress
A restaurant chalkboard for the daily menu: starter, main, dessert, vegetarian and allergen notes, set menus and prices.
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, Carte du menu du jour
* Description: Une ardoise de restaurant pour le menu du jour : entrée, plat, dessert, mentions végétarien et allergènes, formules et prix. Ajoute la composition « Carte du menu du jour » à 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-carte-menu-du-jour
*<!-- wp:group {"tagName": "article", "className": "cmj", "layout": {"type": "default"}} -->
<article class="wp-block-group cmj"><!-- wp:group {"tagName": "header", "className": "cmj-head", "layout": {"type": "default"}} -->
<header class="wp-block-group cmj-head"><!-- wp:paragraph {"className": "cmj-date"} -->
<p class="cmj-date"><time datetime="2026-11-04">Mercredi 4 novembre</time> · midi uniquement</p>
<!-- /wp:paragraph -->
<!-- wp:heading {"level": 2, "className": "cmj-title", "anchor": "cmj-titre"} -->
<h2 class="wp-block-heading cmj-title" id="cmj-titre">L’ardoise du jour</h2>
<!-- /wp:heading --></header>
<!-- /wp:group -->
<!-- wp:html -->
<ul class="cmj-courses">
<li class="cmj-course">:root {
--cmj-slate: #24312b;
--cmj-frame: #8a5a32;
--cmj-chalk: #f6f3ea;
--cmj-dim: #cfd6cf;
--cmj-line: rgb(246 243 234 / 0.25);
--cmj-accent: #f7d58b;
--cmj-veg: #b8e6a6;
--demo-carte-menu-du-jour-bg: #efe9df;
--demo-carte-menu-du-jour-text: #2a2520;
}
Free component: copy it freely, including for commercial projects.
Other cards components in WordPress
Cards components in WordPress
A single-plan pricing card: struck-through price and discount, a places-left gauge driven by a data attribute, the list of everything included and a booking button that turns into a waiting list once sold out.
- Tailwind
- React
- CSS
- WordPress

Three treatment cards in accessible neumorphism: gently raised surfaces, buttons that sink in when activated, a light/dark switch for the block itself. 3:1 outlines and AA text kept.
- Tailwind
- React
- CSS
- WordPress

Four fully clickable workshop cards in a neo-brutalist style: thick border, solid offset shadow and a card that sinks onto its shadow on hover or focus. Pastel tones, dark mode, no JavaScript.
- Tailwind
- React
- CSS
- WordPress

Three brutalist service cards: one-pixel border, hard offset shadow that lifts on hover and sinks on click, large type, accent and dark variants. No JavaScript.
- Tailwind
- React
- CSS
- WordPress

Link in bio page
FreeA mobile page to link from your social profiles: portrait, name, priority links (booking, WhatsApp, website, reviews, call), opening hours with an open or closed status, social links and a share button, in dependency-free HTML and CSS.
- Tailwind
- React
- CSS
- WordPress

A seasonal promotion card with a struck-through price and discount that announces by itself whether the offer is coming, how many days are left or that it is over.
- Tailwind
- React
- CSS
- WordPress