[WordPress] 外掛分享: Widget Builder

WordPress 外掛 Widget Builder 的封面圖片。

前言介紹

  • 這款 WordPress 外掛「Widget Builder」是 2012-04-25 上架。
  • 目前有 700 個安裝啟用數。
  • 上一次更新是 2015-08-21,距離現在已有 3544 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
  • 外掛最低要求 WordPress 3.0 以上版本才可以安裝。
  • 有 10 人給過評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

jazbek | jbrinley | moderntribe | codearachnid | peterchester |

外掛標籤

admin | simple | widget | sidebar | featured image |

內容簡介

Widget Builder 使用原生 WordPress 編輯介面提供了一個獨特的工具,讓您建立自訂小工具給您的網站

相容於 MU
新增管理儀表板小工具
連結圖片
標題和描述
自訂「閱讀更多」連結文字
非常多功能,所有欄位皆可選擇使用
支援模板覆寫,這樣您即可輕鬆覆寫您的主題模板!

經測試可相容 PHP 5.2.17、5.3.14 及 5.4.4 和 WP 3.3 及 3.4。

本外掛目前仍有維護支援,我們將盡力提供幫助。換言之,我們有三個要求:

幫忙回答問題。如果您能夠協助回答論壇上的問題或提供了好的想法和程式碼,我們將不勝感激。這甚至是一個好的方式可以認識我們,如果您是自由工作者,這也可能帶來一些付費工作。此外,如果您可以提供翻譯,我們也可以幫忙更新。
捐款 - 如果本外掛產生足夠的收入來支持我們的時間,這將對我們來說有莫大的幫助。
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=R8H3DD84PWAQ2
支援我們,購買我們的高級外掛程式。特別是要看看我們的活動日曆專業版http://tri.be/wordpress-events-calendar-pro/

註:在 WordPress.org 橫幅中使用的齒輪向量藝術由 http://www.opengraphicdesign.com 創建

文件
管理儀表板小工具

在小工具編輯器中選擇「可用作管理儀表板小工具」以啟用小工具作為管理儀表板小工具。如果您不希望此小工具顯示在可用的小工具清單中以側邊欄放置,請選擇「停用側邊欄小工具」。

預設與自訂模板

內建模板可被模板中的檔案覆寫。

Widget Builder 附帶的內建模板是用於小工具的輸出。如果您想修改小工具顯示程式碼,請在你的模板目錄中創建一個新資料夾名為 “tribe_widget_builder”,然後複製 “views/widget.php” 檔案。

編輯新檔案到您的需要為止。請勿編輯在外掛程式資料夾中的檔案,因為這會在您更新外掛至最新版本時產生衝突。

或者,您可以使用過濾器 ‘tribe_widget_builder_widget.php’ 指向您所選擇的檔案路徑。

過濾器小工具查詢參數

過濾您的查詢參數或完全取代 get_posts() 以微調您的小工具列表,或在 MU 安裝情況下限制建立至一個網站。

以下過濾器可供使用
‘tribe_widget_builder_get_posts_args’ //自訂小工具查詢參數
‘tribe_widget_builder_get_posts’ // 改變 get_posts() 查詢

原文外掛簡介

Widget Builder uses native WordPress editing interface to provide a unique tool to build custom widgets for your site(s).

MU Compatible
Create admin dashboard widgets NEW!
Link the image
Title and Description
Customize “Read More” link text
Very versatile. All fields are optional.
Supports override of template so that you can override the template for your theme!

Tested on PHP 5.2.17, 5.3.14 & 5.4.4 and WP 3.3 & 3.4.
This plugin is actively supported and we will do our best to help you. In return we simply as 3 things:

Help Out. If you see a question on the forum you can help with or have a great idea and want to code it up and submit a patch, that would be just plain awesome and we will shower you with praise. Might even be a good way to get to know us and lead to some paid work if you freelance. Also, we are happy to post translations if you provide them.
Donate – if this is generating enough revenue to support our time it makes all the difference in the world
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=R8H3DD84PWAQ2
Support us by buying our Premium plugins. In particular, check out our Events Calendar Pro http://tri.be/wordpress-events-calendar-pro/

Note: gear vector art used in the WordPress.org banner were created by http://www.opengraphicdesign.com
Documentation
Dashboard Widgets
Select ‘Available As Dashboard Widget’ in the widget editor to enable a widget as a dashboard widget. If you do not want this widget showing in the available widgets list for sidebar placement, select ‘Disable Sidebar Widget’.
Default vs. Custom Templates
The built in template can be overridden by files within your template.
The Widget Builder comes with a default template for the widget output. If you would like to alter the widget display code, create a new folder called “tribe_widget_builder” in your template directory and copy over the “views/widget.php” file.
Edit the new file to your hearts content. Please do not edit the one in the plugin folder as that will cause conflicts when you update the plugin to the latest release.
Alternatively you can point to a path of your choosing using the filter ‘tribe_widget_builder_widget.php’.
Filter widget query args
Filter your query arguments or get_posts altogether for granular fine tuning your listing of widgets or in the case of MU install restricting the builder to one site.
The following filters are available for override
‘tribe_widget_builder_get_posts_args’ // customize the widget query parameters
‘tribe_widget_builder_get_posts’ // change the get_posts() query

各版本下載點

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

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


1.0 | 1.1 | 1.2 | 1.3 | 1.4 | 1.5 | 1.6 | 1.6.1 | 1.6.2 | trunk |

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

  • Widget Logic 》此外掛可在每個小工具中新增一個名為 "Widget logic" 的額外控制欄,讓您控制這個小工具會出現在哪些頁面上。文字欄位允許您使用 WP 的Conditional Tags或任...。
  • Fixed Widget and Sticky Elements for WordPress 》使用 Fixed Widget 外掛可以創建黏貼式的小部件、區塊和其他元素,當用戶向上或向下滾動頁面時,它們會保持在可見的屏幕區域內。, 相較於非固定小工具,黏貼...。
  • Image Widget 》Image Widget 是一個簡單的外掛程式,利用 WordPress 原生媒體管理員,為您的網站新增圖片小工具。, 需要新增幻燈片、燈箱或隨機圖像嗎?, 請查看 Image Widg...。
  • Custom Sidebars – Dynamic Sidebar Classic Widget Area Manager 》使用 Custom Sidebars,一個靈活的小工具管理器,在您的網站上管理和替換側邊欄和其他小工具區。, 製作自訂側邊欄配置,能夠選擇在您網站的每個頁面或文章上...。
  • Widgets on Pages 》這是添加小工具到文章和/或頁面最簡單,也是評價最高的方法。您可以創建無限的動態側邊欄(小工具區域),把它們插入到 WordPress 文章或頁面中。, 從設置菜...。
  • Ocean Custom Sidebar 》這個 WordPress 外掛可以生成無限數量的側邊欄,您可以把它們放置在想要的任何頁面上。前往主題面板 > 側邊欄以創建自定義側邊欄。, 此外掛需要安裝 Ocean...。
  • Content Aware Sidebars – Fastest Widget Area Plugin 》CAS 是迄今最快、最強大的 WordPress 側邊欄外掛程式。您可以在幾秒鐘內建立量身定制的小工具區。, 通過在不同的條件下顯示不同的小工具區,您可以優化轉化率...。
  • Simple Image Widget 》Simple Image Widget就如其名般簡單易用,是在側邊欄中添加圖像的最簡單方法。您可以展示廣告、呼籲行動,甚至基於圖像小工具構建滑塊。, 儘管它很簡單,但Si...。
  • Meks Simple Flickr Widget 》這個 WordPress 外掛可以快速地將你的 Flickr 照片顯示於 Widget 中,且不需要進行授權(只需提供你的使用者 ID)。, 功能, , 無需授權(只需提供使用者 ID)...。
  • WP Page Post Widget Clone 》這個外掛只需要點擊一下,就能複製一篇文章或頁面。現在您無需從頭開始設計新的頁面或文章。, 這個外掛的主要功能包括:, , 創建頁面副本,保留所有內容和標...。
  • SMK Sidebar Generator 》這個外掛可以生成任意數量的側邊欄,然後讓你將它們放置在你想要的任何頁面。, , 特色:, , 無限數量的側邊欄。, 使用條件替換預設主題側邊欄,或全局替換只...。
  • Sidebar Login 》e links., sidebar_login_widget_end – Fired after the widget., , 這是一個 WordPress 的外掛,Sidebar Login 可以為您的 WordPress 博客添加一個有...。
  • Pojo Sidebars 》使用 Pojo Sidebars 您可以為任何頁面創建所需的多個側邊欄,特別是針對基於 Pojo Framework 的主題。, 您可以輕鬆地將您的網站分為區域,同時為每個單獨的...。
  • NewStatPress 》NewStatPress 是 StatPress 的新版本,是第一個能即時追蹤您的部落格訪問統計資訊的 WordPress 外掛。它能夠收集有關訪客、搜尋引擎爬蟲、搜尋關鍵字、訪客的...。
  • Newpost Catch 》在新文章設置小工具中的縮略圖設置。。

文章
Filter
Mastodon