
內容簡介
此外掛擴充了 Sensei 文件 關於添加主題相容性的內容。
你需要 Sensei 外掛程式和 StudioPress 的 Genesis 框架及其其中一個子主題。
換句話說,如果你不是要將 Sensei 外掛與 Genesis 框架及其其中一個子主題整合,你就不需要或欲使用此外掛程式。
此外掛程式只有在啟用 Genesis 框架及其子主題時才能使用 (即啟用)。
版本 1.1.0 強制在課程、課程單元和問題文章上使用內容-側邊欄版面配置,以避免側邊欄顯示在主內容下方。
版本 1.2.0 在課程、課程單元和問題文章和存檔以及模組分類法上加入了 Genesis 佈局選項,以便更好地控制版面佈局選項。
為了向後相容,在單篇文章中仍然設置為內容-側邊欄版面配置,但這可以被 Genesis 佈局選項覆蓋。
你不需要再使用下列語法從你的 functions.php 中移除之前強制的內容-側邊欄版面配置:
remove_action( 'genesis_meta', 'gcfws_force_content_sidebar_layout_on_cpt_posts' );
請改使用 Genesis 佈局選項。
外掛標籤
開發者團隊
② 後台搜尋「Genesis Connect for Woothemes Sensei」→ 直接安裝(推薦)
原文外掛簡介
The plugin expands on the Sensei Documentation about adding theme compatibility.
You will need the Sensei plugin and the Genesis Framework from StudioPress and/or one of its child themes.
In other words, if you are not trying to integrate the Sensei plugin with the Genesis Framework and/or one of its child themes, you don’t need or want this plugin.
This plugin will only work (i.e. activate) if the Genesis Framework and its child themes are activated.
Version 1.1.0 forces a content-sidebar layout on course, lesson and question posts to avoid the sidebar showing underneath the main content.
Version 1.2.0 adds the Genesis Layout options to course, lesson and question posts and archives and the module taxonomy allowing better control about the layout options.
For backwards compatibility, the single posts are still set to a content-sidebar layout but this can be overwritten by the Genesis Layout options.
It should not be necessary to remove the formerly forced content-sidebar layout on single posts with
remove_action( 'genesis_meta', 'gcfws_force_content_sidebar_layout_on_cpt_posts' );
in your functions.php anymore. Please use the Genesis Layout options instead.
