Adding LifterLMS Sidebar Support to your custom or third-party theme
If your theme doesn’t currently support LifterLMS sidebars you can, in most cases, get sidebar support via the steps below.
If you’re not a theme developer and want to get sidebars working in a few clicks give LifterLMS Labs Super Sidebars a shot. The option with LifterLMS Labs Super Sidebars tries to insert the necessary support for LifterLMS sidebars to your theme, sometimes it works, but a theme sidebar may not be identifiable, so you may need to try the tutorial below if Super Sidebars doesn’t work for you.
If you already know your sidebar’s ID you can skip this step.
The ID we’re looking for is the “id” the theme passes to the WordPress core
You can probably find this by searching for this function in your theme’s functions.php file or a “find in folder” of your entire theme.
You can also find this on the WordPress admin panel by doing a little bit of digging around as seen in this tutorial video:
Use the sidebar ID from the previous step and replace “my-sidebar-id” in the snippet below with your ID. Then add the snippet to your functions.php file in your theme or child theme or to a custom plugin.
After ensuring that sidebars work, you can declare explicit theme support so that LifterLMS does not display any warnings on the admin panel.
You can do so by adding this snippet: