外掛說明
這個外掛能讓網站管理員建立多個動態小工具區域,並將這些小工具區域指派至 Genesis Framework 系列佈景主題的單篇文章、個別頁面、不同標籤/分類彙整頁面的資訊欄位置。
以撰寫程式碼的方式建立小工具區域,並使用條件式邏輯將其正確指派至資訊欄位置,這對初學者來說是一項頗有難度的工作。使用這個外掛,就可以從管理選單中執行全部操作,並在編輯單篇文章、個別頁面、標籤或分類的畫面中,透過下拉式選單將外掛建立的小工具區域指派至內建的資訊欄位置。
安裝方式
- 將外掛安裝套件解壓縮所得的
genesis-simple-sidebars
資料夾上傳至網站的/wp-content/plugins/
目錄。 - 不要變更
genesis-simple-sidebars
資料夾的名稱。 - 在 WordPress 管理後台的 [外掛] 選單中啟用外掛。
- 前往 [Genesis]→[Simple Sidebars]。
- 依需求建立一到多個資訊欄小工具區域。
- 在文章、頁面、分類、標籤的編輯畫面,從下拉式選單中選取要顯示的小工具區域。
常見問題集
-
不能。使用這個外掛,僅能將外掛建立的小工具區域指派至主要資訊欄及次要資訊欄。
不過只要建立了小工具區域,網站管理員便能透過撰寫程式碼的方式使用勾點,藉以在使用中的佈景主題顯示這些小工具區域;但是一旦這麼進行,就不太可能透過外掛建立小工具區域,因為建立小工具區域一樣可以透過撰寫程式碼的方式完成。
-
外掛運作的方式並非如此。小工具區域的上層標記並未變更,唯一會變更的項目是內建資訊欄位置中所顯示的動態內容。
使用者評論
參與者及開發者
變更記錄
2.2.3
- Prevent a PHP fatal error under PHP 8.x if incomplete sidebar data exists.
- Fix a PHP deprecation warning under PHP 8.x.
- Fix Genesis download link in admin notice if a Genesis child theme is not active.
2.2.2
- Fix overlapping of sidebar selector in editor.
2.2.1
- Allow sidebars to show in the WordPress Posts page.
2.2.0
- Fixed coding standards errors.
- Introduced coding standards validation.
2.1.0
- Rewrite based on new plugin boilerplate.
- Make ID field readonly, rather than disabled.
- Add header widget area support.
- Allow for empty ID (auto-generate ID from name).
- Allow for only alphanumeric characters in ID.
- Use WordPress native term meta functions.
2.0.3
- Fix warnings and notices.
2.0.2
- Change text domain, update POT file.
2.0.1
- Genesis 2.0.1 compatibility with term meta keys.
- Use actual sidebar name, instead of hard coded names.
- Fix incorrect textdomain.
2.0.0
- Compatibility with Genesis 2.0.0.
- Standards.
1.0.0
- Reorganize theme files.
- Standards
0.9.2.1
- Restore default tag/category support.
- Default custom taxonomy support to on for public taxonomies.
- Remove secondary selection when no 3 column layouts are enabled.
0.9.2
- Added support for custom taxonomies.
- Added translation support.
- bug fix to prevent invalid sidebar creation.
0.9.1
- Added support for custom post types.
0.9
- Fixed “is not array” errors reported by users.
- Added nonce verification for security purposes.
- Added error and success messages.
- Bump to pre-release 0.9 branch.
0.1
- Initial Alpha Release.