About this plugin
BT Keyboard Shortcuts renders keyboard shortcuts in Apple-style symbols (⌘, ⇧, ⌥, ⌃) or as text (Command, Shift, Option, Control). Use the [btkbd] shortcode anywhere shortcodes are supported.
Using shortcuts in a post
g. [btkbd cmd shift p] ), or use the formatting dropdown and choose ⌘ Insert keyboard shortcut to open a dialog where you pick modifiers and key and insert the generated shortcode.
Settings page
The plugin has a Settings page: click Settings next to the plugin on the Plugins screen, or go to Settings → Keyboard Shortcuts. There you can toggle the + separator, modifier symbols vs text, key symbols, Mac vs Windows naming, and style presets (Default, Light, Dark, Modern).
Styling
btkbd styles, use WordPress core Additional CSS in Appearance → Customize (or the Site Editor equivalent for block themes).
Windows compatibility
On the Settings page, use Mac / Windows symbols and names to choose Windows (⊞ Win, Alt) instead of Mac (⌘ Command, ⌥ Option) so shortcuts render with Windows-style symbols and labels for your audience.
Syntax
[btkbd cmd shift p] → ⇧⌘P (symbols, combined) [btkbd $@p] → ⇧⌘P (symbol shorthand input) [btkbd Command-Shift-P] → ⇧⌘P (hyphenated text input) [btkbd right] → → Right Arrow
Display format (symbols/text and plus separators) is controlled by plugin settings.
Supported modifiers
cmd/command, ctrl/control, opt/alt, shift, fn, hyper
You can also use symbol shorthand in the shortcode: $ (shift), @ (command), ~ (option), ^ (control). For example, [btkbd @$p] renders as ⇧⌘P.
g. Control, Option, Shift, Command before the key), regardless of the order you type them in the shortcode.
Key names
tab, return, enter, delete, esc, right, left, up, down, pgup, pgdn, home, end, space, caps, f1-f12