Customizr theme catalog compatibility
As of March 2017, the recommend method for sidebar compatibility is to use LifterLMS Labs: Super Sidebars, a free add-on that allows you to add sidebar compatibility to just about any theme in a matter of seconds without having to write any code. See the full tutorial here.
This code can be added to you functions.php file or to a Custom Plugin in order to ensure LifterLMS Course and Membership Catalogs work well with the Customizr theme.
// Don't copy this line! /** * catalog compat for Customizr theme https://wordpress.org/themes/customizr/ * * @since 2016-12-30 */ add_action( 'lifterlms_before_main_content', 'my_llms_content_wrapper_open' ); function my_llms_content_wrapper_open() { '__before_main_wrapper' ); ##hook of the header with get_header ?> do_action( <div id="main-wrapper" class="<?php echo implode(' ', apply_filters( 'tc_main_wrapper_classes' , array('container') ) ) ?>"> <?php do_action( '__before_main_container' ); ##hook of the featured page (priority 10) and breadcrumb (priority 20)...and whatever you need! ?> <div class="container" role="main"> <div class="<?php echo implode(' ', apply_filters( 'tc_column_content_wrapper_classes' , array('row' ,'column-content-wrapper') ) ) ?>"> <?php } add_action( 'lifterlms_after_main_content', 'my_llms_content_wrapper_close' ); function my_llms_content_wrapper_close() { </div><!-- .container role: main --> '__after_main_container' ); do_action( </div><!-- //#main-wrapper --> '__after_main_wrapper' );##hook of the footer with get_footer ?> do_action( </div> remove_action( 'lifterlms_sidebar', 'lifterlms_get_sidebar' ); }