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.
- Navigate to Appearance > Theme Editor in your WordPress admin dashboard
- Under Select theme to edit, choose your active theme (preferably BuddyBoss Child Theme), then click Select
- From the Theme Files list, open Theme Functions (functions.php)
- 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’);
- Click Update File to save the changes
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.