[WordPress] 外掛分享: WPTerm

WordPress 外掛 WPTerm 的封面圖片。

前言介紹

  • 這款 WordPress 外掛「WPTerm」是 2017-04-05 上架。
  • 目前有 2000 個安裝啟用數。
  • 上一次更新是 2025-04-11,距離現在已有 23 天。
  • 外掛最低要求 WordPress 3.3.0 以上版本才可以安裝。
  • 外掛要求網站主機運作至少需要 PHP 版本 5.3 以上。
  • 有 14 人給過評分。
  • 論壇上目前有 1 個提問,問題解答率 100% ,不低,算是個很有心解決問題的開發者團隊了!

外掛協作開發者

bruandet |

外掛標籤

bash | shell | xterm | command | terminal |

內容簡介

終端機

WPTerm 是一個類似 xterm 的外掛程式。它可用於從 WordPress 管理儀表板執行非交互式 shell 命令。

就像終端機一樣,WPTerm 讓您可以做幾乎任何您想做的事情(例如更改檔案權限、查看網路連線或當前的進程等)。這很棒,但如果您不熟悉 Unix shell 命令,也可能損壞您的部落格。因此,每次使用 WPTerm 時,請遵循以下的做法:如果您不知道自己在做什麼,就不要做!

相容性

WPTerm 不相容於 Microsoft Windows。它僅能在 Unix 相容的伺服器上執行。

因為它使用 PHP 程序執行函數,例如 exec 或 shell_exec,所以它可能無法與某些禁用這些函數的共享主機相容。為了確保您的伺服器相容,請遵循以下步驟:

下載此腳本。
將其重新命名為 “wpterm-check.php”。
上傳到您的網站根目錄中。
前往 http://您的網站/wpterm-check.php
之後,請刪除它。

密碼保護

您可以(而且應該!)密碼保護 WPTerm 的存取權限。請查看上下文幫助或在終端機提示符中輸入 help 以獲取有關如何啟用此功能的詳細信息。

功能

可選擇性運行命令的 PHP 程序執行函數。
自訂字型家族、大小和顏色。
自訂背景顏色。
歷史記錄和回滾緩衝區。
終端鈴聲(可聽可見)。
可選的密碼保護。
上下文幫助。
多站點相容(僅超級管理員可存取)。

支援的語言

英文
法文

需求

WordPress 3.3+
PHP 5.3+
僅相容於 Unix-like 系統(Linux、*BSD 等)。WPTerm 不相容於 Microsoft Windows。

原文外掛簡介

An xterm-like plugin to run non-interactive shell commands.
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!

Compatibility
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 exec or 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.

Password Protection
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.
Features

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).

Supported Languages

English
French

Requirements

WordPress 3.3+
PHP 5.3+
Unix-like OS (Linux, *BSD etc) only. WPTerm is NOT compatible with Microsoft Windows.

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「WPTerm」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


1.2 | 1.1.1 | 1.1.2 | 1.1.3 | 1.1.4 | 1.1.5 | 1.1.6 | 1.1.7 | 1.1.8 | 1.1.9 | trunk |

延伸相關外掛(你可能也想知道)

  • WP Console – WordPress PHP Console powered by PsySH 》WP Console 是一個外掛,讓你在瀏覽器中使用著名的 PsySH 工具,PsySH 是 PHP 的運行時開發者控制台、交互式調試器和 REPL 環境。, 在程式碼編輯器中編寫程式...。
  • WP-ShkShell 》WP-ShkShell 提供一個類似終端機的方塊,可在頁面或文章中嵌入終端機命令。, 它還支持多行、多種命令和語法高亮。, 此代碼是 WP-Terminal (https://wordpress...。

文章
Filter
Apply Filters
Mastodon