BuddyDev

Search

[Resolved] Banner on Home Page

  • Participant
    Level: Initiated
    Posts: 7
    Steve Lawes on #51682

    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.
  • Keymaster
    (BuddyDev Team)
    Posts: 24623
    Brajesh Singh on #51685

    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
    Brajesh

  • Participant
    Level: Initiated
    Posts: 7
    Steve Lawes on #51688

    Adding the code into the child theme should be fine. Can you instruct me on where it needs to go in the functions php?

  • Keymaster
    (BuddyDev Team)
    Posts: 24623
    Brajesh Singh on #51689

    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/kWNgBrnS

    Alternatively, 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
    Brajesh

  • Participant
    Level: Initiated
    Posts: 7
    Steve Lawes on #51690

    That worked. Thank you!

  • Keymaster
    (BuddyDev Team)
    Posts: 24623
    Brajesh Singh on #51691

    Hi 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.

This topic is: resolved