Skip to content

mariojacob/showkeys

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ShowKeys Title

ShowKeys

ShowKeys Release

Select language: EN | DE

A WordPress plugin for the simple representation of keyboard shortcuts.

With this WordPress plugin you can either output individual keys or key combinations.

Ideal for anyone who writes tutorials for software and is looking for a simple solution to represent keyboard keys.

Screenshot of admin settings

screenshot-1

Shortcodes

Single output

Outputs a single symbol.

[skey k="T"]

Multiple output

To output a key combination with a shortcode, use this notation.

[skey k="Alt+Shift+T"]

The individual symbols are separated from each other with a separator "+" by default.

This separator can be changed in the settings.

Explicit Exceptions

If you want the exact characters you specify to be output, then just add ex="on" in the shortcode and the automatic conversion will be disabled for that one shortcode output.

[skey k="Win+Shift+Tab" ex="on"]

Miscellaneous

If you want to output "Alt Shift +", but your separator symbol is "+", then you can use the option s="#" to change the separator symbol to "#" or any other character for this shortcode output only .

[skey k="Alt#Shift#+" s="#"]

Translation

The plugin is by default in English and completely translated in German. It works with .pot files for internationalization. To translate the plugin into a language you need a tool like Poedit.

The individual language files should have the following names such as: skey-fr_FR, skey-fr_CA, skey-nl_NL

You can find the latest .pot file here: https://plugins.svn.wordpress.org/showkeys/trunk/languages/skey.po

Release notes

code.urban-base.net/showkeys/release-notes

About

You can easily output shortcuts with this WordPress plugin.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published