WP-ShkShell provides a terminal-like box for embedding terminal commands within pages or posts. It also support multi-lines, multi-commands and has s …
As of April 2026, WP-ShkShell is a WordPress unix plugin with 10 active installations and a 0/5 rating0. It has been downloaded 2.8K+ times in total. Requires WordPress 2.0+ and PHP false+. Available on WordPress.org since 2012. Last updated 14 years ago — may have compatibility concerns. Top alternative: Blog Terminal.
WP-ShkShell provides a terminal-like box for embedding terminal commands within pages or posts.
It also support multi-lines, multi-commands and has syntax hightlight.
The code is a modification of WP-Terminal (https://wordpress.org/extend/plugins/wp-terminal/).
Wrap terminal blocks with <pre lang="shell" prompt="$"> and </pre>.
Example 1: Default prompt
<pre lang="shell" prompt="$">
ls -a
</pre>
Example 2: Customized prompt
<pre lang="shell" prompt="#">
ls -a
</pre>
Example 3: Another customized prompt
<pre lang="shell" prompt="user@machine$">
ls -a
</pre>
Example 4: Comments
<pre lang="shell" prompt="user@machine$">
ls -a
# will also list hidden files
</pre>
Example 5: Multiline commands
<pre lang="shell"&…| WordPress | 2.0+ requiredTested up to 3.3.2 |
| PHP | false+ required |
Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.