Lab: Super Sidebars
We can’t figure out how to make LifterLMS Sidebars work with every theme out there. The difficulty is that we do not know what sidebar every theme considers to be the primary sidebar. We’ve tried guessing but there’s no way to know.
With this lab you can, through a small amount of trial and error, hopefully get your theme displaying LifterLMS sidebars on courses and lessons with relative ease.
Follow these foolproof steps to get LifterLMS Sidebars working with your theme
- Add a text widget to your Course Sidebar and another to your lesson sidebar. Add some text to each widget so that you can differentiate the two sidebars. We recommend add “course” in the course sidebar and “lesson” in the lesson sidebar.
- Open two new tabs, in one tab open a LifterLMS Course and in the other open a LifterLMS Lesson.
- If the text you entered into the course sidebar (and the lesson sidebar) don’t display you need to proceed to the next set of steps. If the correct sidebars show in the correct places your theme is already compatible and you don’t need to do anything. Dismiss the message on the admin panel and carry on happily!
- Enable the Super Sidebars Lab from LifterLMS -> Labs
- Click Configure
- On this screen you’ll see a dropdown menu which will display all the sidebars registered by your theme and plugins other than LifterLMS.
We don’t know which sidebar your theme considers the primary sidebar (and we can’t always trust the titles) so we are going to test them one by one until the sidebars from the previous steps display the correct widgets.
- Select the first sidebar and click “Save”
- Refresh your course tab and see if the course widget displays
- If it does check the lesson tab as well
- If both of these display the correct widgets you’ve found the sidebar. Dismiss the sidebar message on the admin panel and carry on happily! Otherwise choose the next sidebar in the list and repeat steps 2-4 until the correct widgets display.
First: We’re sorry. We did not mean to waste your time.
Second, this might not work for every theme. We have found a handful of themes that just wont work with our sidebars and in these scenarios you’ll have to contact your theme developer to get them working. Again, sorry…