Skip to:
Content
Pages
Categories
Search
Top
Bottom

Removing featured image function from header – bpdefault

  • Avatar of number_6
    Number_6
    Participant

    @number_6

    Hello, I’m using the latest BP default theme with BP-Columns child theme. I need to remove the function that imposes the post’s Featured Image on the header. I have investigated header.php in bp-default and can’t see it.

    BP-Columns doesn’t have a child header.php.

    Where is the code that tells the theme to look for a Featured Image and what does it look like?

    Thank you

Viewing 3 replies - 1 through 3 (of 3 total)
  • Avatar of danbpfr
    danbpfr
    Participant

    @chouf1

    hi @number_6,

    Number 2: – Why did you resign ? :D

    sticky is a WP setting. This can be done/undone when you publish a post.

    The only sticky or featured related code i found is in the child theme index.php

    Give a try by removing this:27
                                <?php if ( is_sticky() ) : ?>
    <span class=”activity sticky-post”><?php _ex( ‘Featured’, ‘Sticky post’, ‘buddypress’ ); ?></span>
    <?php endif; ?>

    or ask the author  @modemlooper directly

    Avatar of number_6
    Number_6
    Participant

    @number_6

    hahaha Good to be recognised @Chouf1

    That didn’t seem to do anything for me. However I have found what is at work here and removed it.

    Solution</strong

    Remove Line 112
    ` add_theme_support( 'custom-header', $custom_header_args );
    `

    Avatar of danbpfr
    danbpfr
    Participant

    @chouf1

    Bravo !

Viewing 3 replies - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.