Description
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.
Installation
- Upload the entire
Genesis-Connect-for-Woothemes-Sensei
folder to your/wp-content/plugins
directory. - Activate the plugin through the ‘Plugins’ menu in WordPress.
Alternatively, you can
- Click on ‘Add new’ in the ‘Plugins’ menu
- Type (or copy and paste) the name of this plugin into the search box
- Click on ‘Install Now’
FAQ
- Does this work with any WordPress theme?
-
No. This plugin only works with the Genesis Framework and its child themes.
- Does this work with any Genesis child theme?
-
Yes and no. Technically, it does.
However, depending on other factors such as the individual theme’s styling and layout, the output may be unexpected, and require some tweaking.
Case in point, if the full-width layout is selected in the Genesis settings, lessons, course and question posts are showing a sidebar underneath the main content.Version 1.1.0 forced a content-sidebar layout on single course, lesson and questions.
Since Version 1.2.0 the Genesis Layout options can be used to alter the appearance. - Are there any settings?
-
You simply activate the plugin and the necessary wrappers are inserted into your Genesis child theme.
Since version 1.2.0, you can choose the layouts of your courses, lessons, questions and modules with the Genesis Layout options.
- How can I change how the plugin works?
-
There are no settings and no settings screen. You would have to change the code directly in the source.
Reviews
Contributors & Developers
“Genesis Connect for Woothemes Sensei” is open source software. The following people have contributed to this plugin.
Contributors“Genesis Connect for Woothemes Sensei” has been translated into 3 locales. Thank you to the translators for their contributions.
Translate “Genesis Connect for Woothemes Sensei” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.2.0
- Adds Genesis Layout options to course, lesson, and question posts and archives and the module taxonomy.
- Previously forced content-sidebar layout can be overwritten by the Genesis Layout options.
- Updates Readme.
- More modular code structure.
1.1.1
- Better Code Standards.
- Removes unnecessary code.
- Updates Readme Urls.
1.1.0
- Adds check to only activate if Woothemes Sensei is already active.
- Forces a content-sidebar layout on single course, lesson and question posts.
To change this behaviour addremove_action( 'genesis_meta', 'gcfws_force_content_sidebar_layout' );
to your functions.php. - After Woothemes Sensei changed their code base dramatically in the 1.9 update,
the previous method of removing the sensei wrappers started to throw error messages.
This update introduces a version check to use the appropriate array for removing the sensei wrappers.
1.0.3
- Corrected oversight in the original code. First closing tag should be
</main>
instead of</div>
see: [Cobalt Apps Forum] (https://cobaltapps.com/forum/forum/main-category/main-forum/81542-woo-sensei?p=82210#post82210)
1.0.2
- POT file added
1.0.1
- Loading textdomain for i18n
1.0
- Initial release on Github