1. Home
  2. Knowledge Base
  3. Customizations
  4. PHP Functions
  5. How to Show Website Footer in LearnDash Lessons, Topics, and Quizzes

How to Show Website Footer in LearnDash Lessons, Topics, and Quizzes

Introduction

BuddyBoss hides the website footer on LearnDash inner pages by default to provide a distraction-free learning experience. You can display the footer on lessons, topics, and quizzes by adding a small custom function to your active theme. This guide explains how to show website footer in LearnDash lessons, topics, and quizzes pages.

Custom Workaround

Before proceeding, make sure you have a complete site backup.

  1. Navigate to Appearance > Theme Editor in your WordPress admin dashboard
  2. Under Select theme to edit, choose your active theme (preferably BuddyBoss Child Theme), then click Select
  3. From the Theme Files list, open Theme Functions (functions.php)
  4. Add the following code just before the closing PHP tag (?>):
function buddyboss_theme_remove_footer_learndash() { 

    if( buddypanel_is_learndash_inner() ) { 

        return false; 

    }

}

add_filter(‘buddyboss_theme_remove_footer’,’buddyboss_theme_remove_footer_learndash’);

  1. Click Update File to save the changes

Note: Modifications are typically considered custom work, but we are making an exception in this case. Please review the BuddyBoss Support Policy.

Troubleshooting and FAQs

Q: Footer is still not showing.
A: Clear your site cache and browser cache, then refresh the LearnDash page.

Q: Will this affect all pages?
A: No. This change only affects LearnDash lessons, topics, and quizzes.

Q: Can I style the footer differently for LearnDash pages?
A: Yes. Use custom CSS targeting LearnDash inner pages to adjust footer appearance.

Was this article helpful?

Related Articles

Subscribe to Our Newsletter

Stay In Touch

Subscribe to our Newsletter, and we’ll send you the latest news from BuddyBoss

  • This field is hidden when viewing the form
  • This field is for validation purposes and should be left unchanged.

To speak to our Agency consultant, fill in the form found at our Contact Page.

  • Get Started

    Enter your name and email address to get started with your project...

  • This field is for validation purposes and should be left unchanged.