Support » Plugin: LifterLMS » LifterLMS Sidebar not appearing on Compatible theme

  • Resolved Nicole

    (@nikkisart)


    I’m using LifterLMS on a child theme of the Extra Theme by Elegant Themes (it’s indicated in the documentation that Divi should be compatible with the sidebars without additional registration and Extra is based on the Divi theme). For whatever reason, I can’t get the sidebar to appear on the pages they’re supposed to no matter what I do. I’ve added various code snippets to the functions.php file and I’ve added and enabled the LifterLMS Labs plugin to no avail. I’ve added and removed every arrangement of the following code below:

    /**
     * Display LifterLMS Course and Lesson sidebars
     * on courses and lessons in place of the sidebar returned by
     * this function
     * @param    string     $id    default sidebar id (an empty string)
     * @return   string
     */
    function my_llms_sidebar_function( $id ) {
    	$my_sidebar_id = 'sidebar-main'; // replace this with your theme's sidebar ID
    	return $my_sidebar_id;
    }
    add_filter( 'llms_get_theme_default_sidebar', 'my_llms_sidebar_function' );
    
    /**
     * Declare explicit theme support for LifterLMS course and lesson sidebars
     * @return   void
     */
    function my_llms_theme_support(){
         add_theme_support( 'lifterlms-sidebars' );
    }
    add_action( 'after_setup_theme', 'my_llms_theme_support' );
    
    function displaying_sidebar_in_post_types_xtreme( $sidebars_widgets ) {
    	if (is_singular( 'course' ) && array_key_exists( 'llms_course_widgets_side', $sidebars_widgets )) {
    		  $sidebars_widgets['primary-widget-area'] = $sidebars_widgets['llms_course_widgets_side'];
    	} elseif (is_singular( 'lesson' ) && array_key_exists( 'llms_lesson_widgets_side', $sidebars_widgets )) {
    		  $sidebars_widgets['primary-widget-area'] = $sidebars_widgets['llms_lesson_widgets_side'];
    	}
    	return $sidebars_widgets;
    
    }
    add_filter( 'sidebars_widgets', 'displaying_sidebar_in_post_types_xtreme' );
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Thomas Patrick Levy

    (@thomasplevy)

    @nikkisart,

    I haven’t tested the latest version of Extra, so sorry if it’s not working quite right. I am always about 6 months behind on at least 5,000 themes. It’s a lot to keep up with, I hope you can have mercy and understand my position. One guy vs thousands of theme devs, I can’t win…

    Try Super Sidebars from our LifterLMS Labs plugin, should have you working in a few minutes without any code.

    I actually was using Super Sidebars from the LifterLMS Labs which is what I was referring to in my original post.

    I’ve added various code snippets to the functions.php file and I’ve added and enabled the LifterLMS Labs plugin to no avail.

    I understand that you have a lot on your plate, so I just wanted to make sure it wasn’t something I was doing incorrectly because I had the Super Sidebars plugin installed and the additional snippets from the documentation and a support thread so I wanted to make sure it wasn’t conflicting (given what I provided in the code above).

    Plugin Author Thomas Patrick Levy

    (@thomasplevy)

    @nikkisart,

    Sorry I missed that in your original post.

    If you can submit a support ticket via https://lifterlms.com/my-tickets, please do and reference this ticket and I’ll see if we can get sidebars working with your theme.

    Otherwise we’ll have to handle this as a new feature request for theme compatibility, you can submit that at https://lifterlms.com/contact

    Thanks,

    That link did not open a valid page:
    screenshot of the page the link you provided goes to

    I don’t have a premium account (still evaluating on the free account) so previously I was told by the owner, Chris Badgett, that any inquiries about our product, needed to come through this forum. In fact I’ve attempted in the past to go through every support channel your company has published (website contact form, wordpress forums, facebook, and another support section that seems to be just for the paying clients) but I keep getting bounced around to this place and that to submit a support ticket. Is there any location where I should submit support request that gets addressed without being told I’m submitting it in the wrong place? I understand that the paying clients will have priority but your organization does seem to commit to providing support to the rest of us eventually…is that not the case?

    Plugin Author Thomas Patrick Levy

    (@thomasplevy)

    @nikkisart,

    In that case you are in the correct place, the problem is that I do not have the bandwidth to fix every theme issue out there. If I spend all my time resolving theme conflicts for free, nothing gets done on the LifterLMS codebase.

    I understand that is an offensive stance to take but we’re a small team and we need to choose carefully what we can spend our time on.

    So, if you’d like, please submit this as a new feature request for theme compatibility: https://lifterlms.com/contact

    I am really sorry but that’s the best I can do for you today.

    Take care,

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘LifterLMS Sidebar not appearing on Compatible theme’ is closed to new replies.