內容簡介
使用縮短碼在文章或頁面中創建側邊欄並將其放在任何位置。
縮短碼:
創建側邊欄後,您將獲得縮短碼。
管理側邊欄:
在 WordPress 儀表板中,有一個名為 " Widget Area" 的菜單,可以添加和刪除側邊欄。
當您添加一個側邊欄後,您將看到要顯示側邊欄的縮短碼,然後您將能夠在 " Widget Area" 中看到一個新的側邊欄區域。
僅需將任何小工具拖到側邊欄中,在頁面、模板或其他任何地方通過縮短碼顯示。
顯示側邊欄
創建側邊欄後,您將提供像這樣的縮短碼: [ri_custom_sidebar 1],[ri_custom_sidebar 2],等等
只需在 WordPress 頁面或文章中輸入您希望顯示的位置: [ri_custom_sidebar 1](例如)
或使用此 php 代碼在模板中顯示: echo do_shortcode(‘[ri_custom_sidebar 1]’)(例如)
外掛標籤
開發者團隊
原文外掛簡介
Make a sidebar and place it anywhere in post or page with shortcode.
Shortcode :
You will be get the shortcode after creating the sidebar
Manage Sidebars :
In wp dashboard , there is a menu called “Widget Area” to Add and Remove a Sidebar.
As you will add a sidebar, you will see the shortcode to display the sidebar and then you will be able to see a new sidebar area in “Widgets Area”.
Just drag any widget in the sidebar and display through the shortcode in a page, template or anywhere.
Display Sidebar
After creating a sidebar, you will be provided a shortcode like : [ri_custom_sidebar 1], [ri_custom_sidebar 2] …
Just write in wordpress pages or posts where you want to display : [ri_custom_sidebar 1] (for example)
Or use this php code to display in a template : echo do_shortcode(‘[ri_custom_sidebar 1]’); (for example)
