Skip to main content

Version Docs Updated

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:

![Version](https://img.shields.io/github/v/release/MaxHandMade/mhm-rentiva?style=flat-square&label=version&color=blue) ![Docs](https://img.shields.io/badge/docs-premium_standard-0f766e?style=flat-square) ![Updated](https://img.shields.io/github/release-date/MaxHandMade/mhm-rentiva?style=flat-square&label=last%20updated&color=orange)

πŸ›οΈ 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​

  1. Position: Badges must be placed immediately after the YAML frontmatter and before the main heading (#).
  2. Order: The standard order is: Version β†’ Doc Type / Security β†’ Last Updated.
  3. Spacing: Leave a single space between badges.
  4. Accuracy: The updated date must always reflect the date the change was made.

πŸ“ 5. Example​

---
id: sample-page
title: Sample Page
---
![Version](https://img.shields.io/github/v/release/MaxHandMade/mhm-rentiva?style=flat-square&label=version&color=blue) ![Updated](https://img.shields.io/github/release-date/MaxHandMade/mhm-rentiva?style=flat-square&label=last%20updated&color=orange)

# 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​

DateVersionNote
23.04.20264.27.2English translation added.
19.03.20264.21.2v4.21.2 standards and new color codes added.