How do I remove the Secondary Sidebar on Course or Lesson pages when using Genesis?

If you’re using Genesis or a Genesis Child Theme which uses the Secondary (or alternate) sidebar but you don’t want that sidebar displaying on LifterLMS course and or lesson pages, simply paste the following snippet(s) into your functions.php file to remove the alternate sidebar when users are viewing the content type(s).

On a Course

On a Lesson

Last Updated on
Was this article helpful?