Tagged: ,

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1038955

    Hi there,
    I want to use LifterLMS in my Enfold Theme. I have installed the plugin and as per the documentation of LifterLMS, I have added appropriate code to the theme functions.php. Please see below URL for the documentation.

    I can see there are multiple sidebar registered in the theme. I tried them one by one, but none seems to be working.
    I wanted to show the sidebar on my Course or Lesson pages.
    Can you please guide me step by steps how can I get the sidebar on my Course or Lesson pages.
    I would like to add that when I installed the LifterLMS plugin on my localhost using a default WordPress theme, it is showing properly.
    An early reply will be highly appreciated
    Thanks!

    #1039613

    Hey springmediastrategies,

    Where can we see the results you are getting on a live site?

    Best regards,
    Rikard

    #1039628

    Using the LifterlLMS, I have created a couple of courses. Each course has lesson. I want to show the sidebar on the course pages.
    The LifterLMS has also registered two sidebars to show on Course and Lesson pages. If you have seen the video or the code on the URL that I mentioned above, I wanted to know what is id of the sidebar that I should use in code below:
    function my_llms_sidebar_function( $id ) {
    $my_sidebar_id = ‘my-sidebar-id’; // replace this with your theme’s sidebar ID
    return $my_sidebar_id;
    }
    Please let me know if you need any other detail.
    Thanks

    #1040751

    Hi springmediastrategies,

    Did you follow this tutorial?

    Best regards,
    Victoria

    #1040778

    Yes, I followed and added the code to my functions.php.

    #1043071

    Hi,

    What is the name of the sidebar where you’re applying it to? You can find the name of the sidebars registered by the theme in the includes > admin > register-widget-area.php file.

    Best regards,
    Ismael

    #1044808

    Thanks everyone for the help. I managed to show the sidebars on the required pages.
    Thanks for your support.

    #1045162

    Hi,

    Great, glad you got it working. Please let us know if you should need any further help on the topic or if we can close it.

    Best regards,
    Rikard

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