Using the Community Pro Theme. The Banner image shows up on all pages except the home page. How do I get the banner on the home page?
virtual.bibleinstitute.net
- This topic was modified 9 months, 1 week ago by Steve Lawes.
- This topic was modified 9 months, 1 week ago by Steve Lawes.
Hi Steve,
Welcome to BuddyDev support forums.Thank you for using Community Builder Pro.
I am sorry, front page is the only page where we have it disabled and we haven’t provided an option to turn it on.
There is small fix, we can put this code in the child theme’s functions.php
add_filter( 'cb_is_page_header_enabled', '__return_true', 100 );
Or, we can add it as a setting option and release the update within 24 – 48 hours.
Please let me know which one will be preferred.
Regards
BrajeshAdding the code into the child theme should be fine. Can you instruct me on where it needs to go in the functions php?
Hi Steve,
Thank you.Are you able to use FTP or do you know some way of accessing your site’s wp-content/themes directory.
We need to edit wp-content/themes/community-builder-child/functions.php and add the line at the bottom, from this page
https://pastebin.com/raw/kWNgBrnSAlternatively, you can use a snippet plugin like this
https://wordpress.org/plugins/code-snippets/and add the code from the above as snippet. That will work too.
If you feel uncomfortable doing it, Please grant me temporary access and I will do it for you.
Regards
BrajeshHi Steve,
Thank you for confirming.
I am glad I was able to assist.Regards
Brajesh
The topic ‘ [Resolved] Banner on Home Page’ is closed to new replies.