This is searchable archive of our old support forums, which operated from 2012 - 2016. To find out how to get support for your current theme, please visit our support page.

Problems with WooTheme’s Sensei plugin

  • Creator
    Topic
  • #8128
    pyleitonthere
    Participant

    Thanks for fixing I had the same issue! [referring to this topic]

    I am using woocommerce’s Sensei plugin for training courses, and all of my “course” and “lesson” pages are having the exact same issue my product pages were having before.

    Here is a link to the plugin: http://www.woothemes.com/products/sensei/

Viewing 8 replies - 1 through 8 (of 8 total)
  • Author
    Replies
  • #8130
    Jason Bobich
    Keymaster

    Hello,

    I apologize, but this would be a different plugin, and I would imagine is going to require different hooks than WooCommerce does. This honestly isn’t anything I’ve ever used, so I can’t really speak much to it. You’d need to hook in the appropriate HTML markup surrounding the content of the page to get the sidebars to sit right in these scenarios.

    #8207
    Johanna Heath
    Participant

    Hi Jason,
    As it happens, I have just started using Sensei too, and I have the same problem. The issue appears to be with custom post types, and being able to specify Widget areas for custom post types

    See http://pgsbase.co.uk/stg/course/stg-compressed-gases-safety/

    I don’t even know where the content displayed below the page content comes from – I certainly haven’t added it and I have deleted the default widgets for the ‘left’ sidebar

    #8215
    Jason Bobich
    Keymaster

    Within the content area of the page, you’ve got the plugin you’re using to construct the page between the header and footer. I would assume the plugin adds an additional widget area maybe you’re not aware of? Either way, for the plugin to display those columns it’s adding, you’re going to have to make your own CSS modifications to display the columns the plugin is adding. I’d suggest maybe contacting support for the plugin.

    #8250
    david-wpck
    Participant

    I’ve played with WooThemes Sensei plugin a little with JumpStart, and the issues that come up are not JumpStart, they are from the Sensei templating.
    It’s not even Sensei’s fault, they make it very clear the plugin is developed around WooThemes and Default WordPress themes, and minor templating may be required for other themes.

    Out of the box Sensei will work with your theme, however it is possible you will need to make changes to the markup or the structure of a Course, Lesson, etc, for display with your theme. All you need to do is make a folder called /sensei/ in your theme root. Then simply copy the files and folder over from the plugins /templates/ folder.

    I would follow their documentation and you’ll be able to integrate with JumpStart without issue.
    I have already done this on a local site while testing and playing.
    Here is the Sensei templating link.

    #8252
    Jason Bobich
    Keymaster

    @david-wpck Thanks for sharing this link with everyone!

    #8261
    Johanna Heath
    Participant

    Thanks for the help @david-wpck – I’ll have a look at that

    #23268
    lbartholomew
    Participant

    Hi Jason,

    I know this is an old post but I’m having the same issue … I’m using Alyeska 3.1.9.1 and I just installed the Sensei plugin. Everything looks great until you click on a single lesson page and then it blows up the structure. This page seems to have a very simple solution:
    http://docs.woothemes.com/document/sensei-and-theme-compatibility/

    This looks exactly like the issue Alyeska had with WooCommerce before installing the TB WooCommerce Patch which once applied, immediately fixed everything. Now that a couple of years have past since this original post before I go modifying code, I was hoping you may have a similar patch for Sensei?

    Thanks for a really terrific theme and overall awesome experience!

    #23271
    Jason Bobich
    Keymaster

    No unfortuantely there hasn’t been any patch plugin created, like for WooCommerce. I’ve never used this Sensei plugin, but it appears to work in the same way WooCommerce plugin works, in how it constructs a page.

    That being, it more or less just slaps your current theme’s header.php and footer.php around its content, opposed to taking the alternate approach of filtering onto the_content like many other plugins are starting to do, so it will fit more naturally into a wider range of themes.

    So, you’d have to build in support from your child theme or (your own plugin) to get it work right. Basically, as you’ve already seen in the article you referenced, you have to get the theme’s HTML markup for building a page to sit before and after what the plugin is doing. Similarly to WooCommerce, it looks like they have action hooks you’d utilize.

    It’s going to be very similar to what I’ve done in our WooCommerce patch plugin, but using the specific Sensei plugin actions in that theme integration article.

    Hooking the two functions: https://github.com/themeblvd/Theme-Blvd-WooCommerce-Patch/blob/master/theme-blvd-woocommerce-patch.php#L56-L57

    Function to display before content: https://github.com/themeblvd/Theme-Blvd-WooCommerce-Patch/blob/master/theme-blvd-woocommerce-patch.php#L135

    Function to display after content: https://github.com/themeblvd/Theme-Blvd-WooCommerce-Patch/blob/master/theme-blvd-woocommerce-patch.php#L159

Viewing 8 replies - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.