[WordPress] 外掛分享: Reusable Admin Panel

首頁外掛目錄 › Reusable Admin Panel
WordPress 外掛 Reusable Admin Panel 的封面圖片
全新外掛
安裝啟用
尚無評分
210 天前
最後更新
問題解決
WordPress 4.0+ PHP 5.4+ v1.0.7 上架:2023-01-24

內容簡介

我們的目標是創建一個可由多種外掛使用的可重複使用的管理面板,而不必在多個外掛中建立或包含相同代碼的類,同時快速設置。

下載示例外掛程式以盡快啟動和運行。

功能:

Bootstrap
Font-Awesome 字段信息按鈕和側邊欄信息助手
使用 validator.js 進行驗證
自動消毒和保存選項
構建可輕鬆獲取個別選項的方法
在數據庫中將設置分組在一個選項下(保存為多維數組)
Bootstrap 滾動器預載程序(防止加載時佈局移位)
在顯示管理面板時刪除其他外掛的通知
通過使用依賴項顯示 sweetalert2 來防止使用者停用插件。

外掛標籤

開發者團隊

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

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

原文外掛簡介

A settings class to help developers easily add beautiful admin pages and handle getting, sanitizing, and saving options.
Update
With the updated release of Settings Class for WordPress, we do not plan to add new features to this plugin. We will continue to provide fixes, but adding new functionality would make it difficult to maintain as it would need to be fully backwards compatible.
Settings Class for WordPress may include breaking changes, but it does not auto update, so you won’t have to worry about plugins breaking unexpectedly. You can take your time to migrate to the new version, and any breaking changes will be reserved for major releases.
About

Our goal was to create a reuseable admin panel that can be used by various plugins without having to build or include classes of the same code in multiple plugins, while at the same time being quick to setup.
View our Documentation to see a list of fields and their parameters.
You can also download our example plugin to get up and running as quick as possible.
Have suggestions? Submit a Pull Requests via Github.
Features

Bootstrap
Font-Awesome Field Info Buttons and Sidebar Info Helper
jQuery Dynamic Navigation
Validation using validator.js
Automatic sanitization and saving of options
Method built to easily get individual options
Settings Grouped Under One Option in Database (Saved as Multi-Dimensional Array)
Bootstrap Spinner Preloader (Prevents Layout Shifting on Load)
Removes notices from other plugins when displaying admin panel
Prevent users from deactivating by displaying a sweetalert2 to deactivate the plugin using the dependency.

Fields

Switch
Text
Textarea
Email
URL
Password
Number
Dropdown
Date
Time
Color
Dropdown Toggle – Additional fields can be added under a dropdown which show/hide based on selected option
Button – Add multiple buttons that can link or be targeted in custom JS

文章
Filter
Mastodon