[WordPress] 外掛分享: WpPDE

首頁外掛目錄 › WpPDE
WordPress 外掛 WpPDE 的封面圖片
全新外掛
安裝啟用
尚無評分
4910 天前
最後更新
問題解決
WordPress 3.3+ v1.0 上架:2012-04-03

內容簡介

WpPDE 是一個針對 WordPress 的開發環境。您可以使用 WpPDE 創建自己的外掛程式並通過它進行維護。

WpPDE 可以讓您創建包含以下內容的外掛程式:

小工具
動作
鉤子(hooks)

WpPDE 與Ace editor 整合,提供高效的開發環境。

WpPDE 還可以方便地為您的外掛程式創建自述文件(readme files)。

文件

WpPDE - 外掛程式開發環境 - 官方網站
WpPDE - 使用者指南 - WpPDE 外掛程式的說明文件
WpPDE - 教程 - 演示其功能的選定螢幕擷取畫面。

外掛程式元素

使用外掛程式元素框來添加不同類型的項目到您的外掛程式。您可以添加:

動作
過濾
小工具(下一節有更多描述)

小工具

一旦向外掛程式添加了小工具元素,您就可以在圖形用戶介面(GUI)中對其進行配置。您也可以向小工具中添加表單元素。WpPDE 會自動為您創建包括存儲小工具資料的表單,您只需提供顯示程式碼(對應於widget() 方法)。

表單元素

您可以向小工具添加各種表單元素。這些包括:

標籤(帶有各種樣式)
複選框
文字
文字區域
單選按鈕(Radio)
下拉列表

對於複選框(Radio)和下拉列表,您也可以使用所選擇的項目值來顯示/隱藏相關的元素。

外部檔案

您可以使用外部檔案框來向您的外掛程式添加外部檔。WpPDE 還可以讓您自動附加(Enqueue) 或者引用(Require) 這些檔案。

自述文件生成

WpPDE 可以生成自述文件(標準的 WordPress 自述文件格式或 Github 的 Markdown 格式)。您只需要使用關於外掛程式框中提供的信息,WpPDE即可為您生成文檔。

編輯器選項

您可以使用編輯器選項框來更改編輯器選項。

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「WpPDE」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

WpPDE is a development environment for WordPress. You can create your own plugins and maintain them using WpPDE.
WpPDE allows you to create plugins that contain:

Widgets
Actions
Hooks

WpPDE integrates with Ace editor to provide a productive development environment.
WpPDE also facilitate easy creation of readme files for your plugins.
Documentation

WpPDE – Plugin Development Environment – Official home page
WpPDE – User Guide – Documentation for WpPDE plugin
WpPDE – Tutorials – Selected screencasts demonstrating the functionality.

Plugin Elements
Use the Plugin Elements box to add different type of items to your plugin. You can add:

Actions
Filters
Widgets (More on this in the next section)

Widgets
Once a widget element is added to the plugin, you can configure it in the GUI. You can also add form elements to the widget. WpPDE automatically creates the widget form for you including saving of the widget data. You just need to provide the display code (corresponding to widget() method).
Form Elements
You can various kinds of form elements to the widget. These include:

Labels (with various styles)
Checkbox
Text
Text Area
Radio
Dropdown lists

You can also hide/unhide dependent elements using the value of the selected item for checkbox, radio and dropdown items.
External Files
You can add external files (javascript, css, PHP etc.) to your plugin using the External Files box. WpPDE even lets you enqueue(or require) the files automatically.
Readme Generation
WpPDE can generate readme files (in standard wordpress readme format or markdown format for github). Provide the information in About the Plugin box and let WpPDE generate the files for you.
Editor Options
You can change the editor options using the Editor Options box.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon