Skip to:
Content
Pages
Categories
Search
Top
Bottom

Custome Header Support – Remove Action


  • fostertime
    Participant

    @fostertime

    I am trying to use the

    remove_action( 'init', 'bp_dtheme_add_custom_header_support' );

    In my child theme functions.php. However it does not remove the header bp-default header.

    I’ve cleared cache and tried in multiple browsers. So, anyone else having this issue?

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

  • Bowe
    Participant

    @bowromir

    same here.. no solution found so far..


    Leia Scofield
    Participant

    @leiascofield

    Likewise. Tried setting a priority on the remove_action to no avail.

    WP 2.9.1, BP 1.2


    andystaple
    Participant

    @andystaple

    I’m at the same problem. Followed the instructions in the functions.php and put that line in my child themes functions.php and nothing changed at all.

    Anyone find a way around this without editing the bp-defaults functions.php ?


    Leia Scofield
    Participant

    @leiascofield

    Andy — Add this to your child functions.php:

    function remove_header_support() {

    remove_action( ‘init’, ‘bp_dtheme_add_custom_header_support’ );

    }

    add_action( ‘init’, ‘remove_header_support’, 9 );

    (Hat tip: MrMaz)

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Custome Header Support – Remove Action’ is closed to new replies.
Skip to toolbar