WPTerm is an xterm-like plugin. It can be used to run non-interactive shell commands from the WordPress admin dashboard.
Just like a terminal, WPTerm lets you do almost everything you want (e.g., changing file permissions, viewing network connections or current processes etc). That’s great, but if you aren’t familiar with Unix shell commands, you can also damage your blog. Therefore, each time you use WPTerm, please follow this rule of thumb: if you don’t know what you’re doing, don’t do it!
WPTerm is not compatible with Microsoft Windows; it works on Unix-like servers only.
Because it makes use of PHP program execution functions such as
shell_exec, it may not be compatible with some shared hosts that have disabled these functions. To make sure your server is compatible, follow these steps:
- Download this script.
- Rename it to “wpterm-check.php”.
- Upload it inside your website root folder.
- Go to http://YOUR WEBSITE/wpterm-check.php
- Delete it afterwards.
You can (and probably should!) password protect the access to WPTerm. Consult the contextual help, or type
help at the terminal prompt to get more details about how to enable this feature.
- Selectable PHP program execution function to run commands.
- Custom fonts family, size and color.
- Custom background color.
- History and scrollback buffer.
- Terminal bell (audible / visible).
- Optional password protection.
- Contextual help.
- Multisite compatible (only accessible to the SuperAdmin).
- WordPress 3.3+
- PHP 5.3+
- Unix-like OS (Linux, *BSD etc) only. WPTerm is NOT compatible with Microsoft Windows.
wptermfolder to the
- Activate the plugin through the ‘Plugins’ page in WordPress.
- Plugin settings are located in the ‘Tools > WPTerm’ sub-menu.
Is there any Microsoft Windows version ?
WPTerm works on Unix-like servers only.
- Compatibility with WordPress 5.9.
- Fixed the “Your site could not complete a loopback request” error message in Site Health due to the PHP session when WPTerm’s password protection was enabled.
- On multisite installations the plugin is now accessible from the main site only. Since there’s just one physical WordPress install, there’s no need to use it on other sites.
- Added right to left language support to the terminal (compatible wit Firefox, Chrome, Opera and Safari browsers).
- Fixed an issue where the PHP session required by WPTerm’s password protection was always started, even when a non-admin user visited the site.
popento the list of PHP functions that you can select to run commands (see “Settings > Terminal > Use the following PHP function for command execution”).
- WordPress 4.9 compatibility.