Genesis Connect for Woothemes Sensei

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

  1. Upload the entire Genesis-Connect-for-Woothemes-Sensei folder to your /wp-content/plugins directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.

Alternatively, you can

  1. Click on ‘Add new’ in the ‘Plugins’ menu
  2. Type (or copy and paste) the name of this plugin into the search box
  3. Click on ‘Install Now’

FAQ

Installation Instructions
  1. Upload the entire Genesis-Connect-for-Woothemes-Sensei folder to your /wp-content/plugins directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.

Alternatively, you can

  1. Click on ‘Add new’ in the ‘Plugins’ menu
  2. Type (or copy and paste) the name of this plugin into the search box
  3. Click on ‘Install Now’
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

Brilliant for Sensei 1.9.3 and Genesis

Works out of the box with Genesis and Sensei 1.9.3 – even with my customized Magazine Pro theme.

This used to be a major, incompatibility issue that Christopher Herr solved. He also updated the plugin to reflect the Sensei 1.9 changes – very much appreciated.

Brilliant work – highly recommended!

Read all 3 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 2 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 add remove_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] (http://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