[WordPress] 外掛分享: Functionality

首頁外掛目錄 › Functionality
WordPress 外掛 Functionality 的封面圖片
1,000+
安裝啟用
★★★★
4.6/5 分(12 則評價)
1933 天前
最後更新
問題解決
PHP 5.2+ v2.0.0 上架:2013-08-05

內容簡介

一個功能性外掛是將通常會放在主題 functions.php 檔案中的內容分離出來,並放在外掛中。它的運作方式與主題 functions.php 相同,但它不受主題升級的影響,也不與主題綁定,因此可以不用擔心變更主題後失去所有功能。

這個外掛自動化了創建功能性外掛的過程。只需安裝並啟用此外掛,就會為您創建自己的功能性外掛。您可以使用管理選單中的快速連結進入編輯您的功能性外掛並添加片段。

關於功能性外掛的更多資訊,請參見 WP Daily 的這篇文章。

本外掛的程式碼在 GitHub 上提供。歡迎自由複製存檔,並發送拉取請求。如果您發現外掛有錯誤,請開啟問題。

塞爾維亞翻譯由FirstSiteGuide.com的Ogi Djuraskovic提供。

外掛標籤

開發者團隊

⬇ 下載最新版 (v2.0.0) 或搜尋安裝

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

原文外掛簡介

A functionality plugin is a way to separate what you might normally place in a theme’s functions.php file, and put it in a plugin instead. It works the same way as a theme functions.php file, but is separate from the theme and so not affected by theme upgrades, or tied to the theme so you loose all of your functions if you choose to switch themes.
This plugin automates the process of creating a functionality plugin. Simply install and activate this plugin, and your very own functionality plugin will be created for you. You can then edit your functionality plugin and add snippets to it using the quick link in the admin menu.
See this WP Daily post for more information on functionality plugins.
This plugin’s code is available on GitHub. Please feel free to fork the repository and send a pull request. If you find a bug in the plugin, open an issue.
Serbian translation provided by Ogi Djuraskovic from FirstSiteGuide.com.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon