BACK TO DIRECTORY

OpenStatus Badge

by constantbourgois

0.0
(0 ratings)

OpenStatus Badge allows you to easily embed your OpenStatus status page badge anywhere on your WordPress site using the block editor.

Features:

  • Simple setup – just enter your status page slug
  • Customizable appearance – choose theme (light/dark), size (sm/md/lg/xl), and variant (outline)
  • Block editor integration – full preview in the editor with real-time attribute changes
  • Lightweight – badge is loaded as a native <img> tag, no inline SVG fetching

How it works:

  1. Configure your OpenStatus status page slug in Settings > OpenStatus
  2. Add the “OpenStatus Badge” block to any page or post
  3. Customize the badge appearance using the block settings
  4. The badge automatically links to your status page

Source Code

The source code for this plugin is publicly available on GitHub:
https://github.com/openstatusHQ/wordpress-status-widget-plugin

The src/ directory contains the uncompiled block source (JavaScript, SCSS). The build/ directory contains the compiled assets generated by @wordpress/scripts.

To rebuild from source:

  1. Clone the repository
  2. Run npm install
  3. Run npm run build

Screenshots

The OpenStatus Badge block in the editor with theme, size, and variant settings

The OpenStatus Badge block in the editor with theme, size, and variant settings

The badge displayed on the frontend

The badge displayed on the frontend

Plugin settings page — configure your status page slug and default variant

Plugin settings page — configure your status page slug and default variant

Plugin Details

Active Installs
0
Total Downloads
178
Version
1.0.1
Requires WP
6.1
Requires PHP
7.4
Tested Up To
7.0.4
Added
2026-06-28
Last Updated
2026-06-28 4:31pm GMT

Ratings

5
0
4
0
3
0
2
0
1
0