Purpose
This guide defines the standards, color codes, and usage rules for the visual badges used across MHM Rentiva documentation pages.
π·οΈ Badge Standards & Usage Guide
Shields.io-based badges are used to quickly visualize the currency and technical level of each documentation page.
π 1. Current Badge Format (v4.27.2)β
The standard sequence that must appear at the top of every page:
  
ποΈ 2. Badge Componentsβ
Version Badgeβ
- Color: Blue (
blue) - Format:
version-{plugin_version} - Usage: Indicates which major plugin version this page is compatible with.
Security & Compliance Badgesβ
- Color: Green (
green) or Dark Green (0f766e) - Values:
WPCS Compliant: Compliant with WordPress Coding Standards.Security Hardened: Security hardening applied.SQL Safe: Protected against SQL Injection.
Updated Badgeβ
- Color: Orange (
orange) - Format:
last updated-DD.MM.YYYY - Usage: Shows when the page was last reviewed or updated.
π¨ 3. Style Parametersβ
All badges must use the following parameters for visual consistency:
style=flat-square: Provides a modern, square-edged appearance.logo=...: Brand logos can be added where required.
π 4. Usage Rulesβ
- Position: Badges must be placed immediately after the YAML frontmatter and before the main heading (
#). - Order: The standard order is: Version β Doc Type / Security β Last Updated.
- Spacing: Leave a single space between badges.
- Accuracy: The updated date must always reflect the date the change was made.
π 5. Exampleβ
---
id: sample-page
title: Sample Page
---
 
# Sample Title
Content goes here...
Section Summaryβ
- Consistent badge usage gives the documentation a professional appearance.
- All pages have been normalized to the new format as of v4.21.2.
Changelogβ
| Date | Version | Note |
|---|---|---|
| 23.04.2026 | 4.27.2 | English translation added. |
| 19.03.2026 | 4.21.2 | v4.21.2 standards and new color codes added. |