• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Authority Pro – Content wrappers with Woocommerce Sensei

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › General Discussion › Authority Pro – Content wrappers with Woocommerce Sensei

This topic is: not resolved

Tagged: Sensei

  • This topic has 4 replies, 2 voices, and was last updated 8 years, 10 months ago by Lorentz.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • December 4, 2017 at 5:56 am #214233
    Lorentz
    Member

    I'm using the Authority Pro theme and Sensei plugin from Woocommerce.

    I'm experiencing that the sidebar navigation for the course is shown underneath my content - like also mentioned in an example here: https://docs.woocommerce.com/document/sensei-and-theme-compatibility/

    I've tried to add this to the function.php for the Authority theme, but without success (recommended from the Sensei documentation):

    add_filter( 'sensei_load_default_supported_theme_wrappers', '__return_false' );

    Is there a special place in the function.php file I need to put this piece of code?

    If I need to specify my own wrappers - can I do this within the Genesis "hooks" edit? And if yes, in which areas?

    Help is much appreciated:)

    BR Lorentz


    EnkelExcel.dk

    December 4, 2017 at 6:07 am #214236
    Victor Font
    Moderator

    Anywhere in functions.php should be fine, but are you certain it's the wrappers and not CSS related? If the content area is too wide, the sidebar will be pushed down and appear to be underneath it.


    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

    December 4, 2017 at 6:18 am #214237
    Lorentz
    Member

    I'm not certain that it's the wrappers, but in the sensei documentation, they show the exact example and suggest that I should specify my own wrappers in the functions.php file if the above mentioned code didn't work.


    EnkelExcel.dk

    December 4, 2017 at 7:01 am #214239
    Lorentz
    Member

    I've tried to add this

    global $woothemes_sensei;
    remove_action( 'sensei_before_main_content', array( $woothemes_sensei->frontend, 'sensei_output_content_wrapper' ), 10 );
    remove_action( 'sensei_after_main_content', array( $woothemes_sensei->frontend, 'sensei_output_content_wrapper_end' ), 10 );

    add_action('sensei_before_main_content', 'my_theme_wrapper_start', 10);
    add_action('sensei_after_main_content', 'my_theme_wrapper_end', 10);

    function my_theme_wrapper_start() {
    echo '<div id="container"><div id="content" role="main">';
    }

    function my_theme_wrapper_end() {
    echo '</div><!-- #content -->
    </div><!-- #container -->';
    get_sidebar();
    }

    to the functions.php but it's based on the guide to resolve this issue with Sensei and the TwentyTen theme, so I'm probably using some wrong div ids perhaps but I don't know where to find them.


    EnkelExcel.dk

    December 5, 2017 at 5:00 am #214273
    Lorentz
    Member

    After much swearing and googling I found this bad boy: https://wordpress.org/plugins/genesis-connect-for-woothemes-sensei/

    Problem solved.

    If I ever meet mr. Herr who made this plugin I will buy him a damn good cup of coffee. I'll buy him two.


    EnkelExcel.dk

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 total)
  • The forum ‘General Discussion’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2026 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble