[WordPress] 外掛分享: Settings API

前言介紹

  • 這款 WordPress 外掛「Settings API」是 2012-06-06 上架。
  • 目前有 10 個安裝啟用數。
  • 上一次更新是 2020-03-14,距離現在已有 1877 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
  • 外掛最低要求 WordPress 3.3 以上版本才可以安裝。
  • 有 4 人給過評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

tareq1988 |

外掛標籤

admin | class | options | settings | settings api |

內容簡介

這個外掛是給開發者使用的,並非一般使用者。

這是一個主要針對 PHP 開發者所設計的類別,您可以使用它來建立您的佈景主題和外掛選項面板。它是一個封裝了Settings API的類別,您只需傳遞您需要使用的區塊和欄位作為 PHP 陣列即可,這個外掛將會使用這些資訊來動態建立您的選項面板。

這是一個主要用來展示 Settings API PHP 類別的展示性外掛。

您可以至 Github 取得最新的開發快照。

使用範例

您可以在這裡找到一個詳細的教學,來學習如何使用這個 PHP 類別。

原文外掛簡介

This plugin is for developers, not general users.
This is mainly a PHP class that you can use to build your themes and plugins option panel. It’s a wrapper class that uses
Settings API under the hood. All you need is to just pass the sections and fields
you need as an PHP array. And your options panel will be build automatically on the fly with a tiny PHP class.
This is mainly a demo plugin that uses the Settings API PHP class.
Visit the Github for the latest development snapshot.
Usage Example
A nice tutorial is presented can be found here about how to use this PHP class

各版本下載點

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

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


0.1 |

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

  • WordPress Options 》WordPress Options 是一款針對設計師和開發人員所設計的 WordPress 外掛,可以讓他們極簡化代碼,輕鬆快速地為其 WordPress 產品添加選項,同時為高級開發人...。
  • Register Settings API 》此外掛可讓您在自己的 WordPress 主題或外掛程式中新增設定,只要撰寫陣列即可簡單完成。, 完整說明文件請參考:http://www.wp-load.com/register-settings-a...。
  • Object Oriented Plugin Template Solution 》提供一個經過精心設計的 WordPress 外掛範本,讓新的外掛作者有助於創建一個優秀且易於維護的外掛。現有的外掛作者可提取個別組件和概念,以移植到自己的專案...。

文章
Filter
Apply Filters
Mastodon