Support » How-To and Troubleshooting » remove custom header functionality from admin menu

remove custom header functionality from admin menu

  • Hi,
    I’d like to remove the custom header area from the admin menu. I used to have a little snippet of code I dropped into functions.php, but I have lost it.

    Can anyone point me in the right direction?



Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator Michael


    Forum Moderator

    for instance, in Twenty Ten, this code in functions.php initializes the custom header area in admin:

    // Add a way for the custom header to be styled in the admin panel that controls
    	// custom headers. See twentyten_admin_header_style(), below.
    	add_custom_image_header( '', 'twentyten_admin_header_style' );

    check if your theme has a similar code in functions.php – and remove it.

    I have a child functions.php file for my child theme. How do I completely remove this function? (Without altering the original functions.php file of the twentyten theme?)

    So basically I want the functionality and back-end appearance to be totally gone..

    Hey Alchymyth, thanks for the reply: didn’t see it until now.

    Turns out the snippet I was looking for was just a buddypress function

    define( 'BP_DTHEME_DISABLE_CUSTOM_HEADER', true );

    which I dropped into bp-custom. Sorry, it was a long day;-) Thought I’d share anyway, in case it helps anyone.

    @florushj you should do what alchymyth says above. if you don’t want to completely remove it, just comment it out.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘remove custom header functionality from admin menu’ is closed to new replies.