Skip to:

Disable custom header

  • Hi,

    I would like to disable the custom header feature that is under “Appearance” in the admin panel but I cannot find a way to do so. I would rather work directly with the CSS and no matter what changes I make for the header, the “custom header” always overrides it. I am using the buddypress default theme. Can anyone help?



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

    Put the following into your wp-config.php:

    define( 'BP_DTHEME_DISABLE_CUSTOM_HEADER', true );

    Thanks but that didn’t work :(

    EDIT: actually, my ftp client isn’t letting me upload wp-config.php but will allow anything else. Hmmm…

    EDIT2: changed FTP client and it allowed me to overwrite, however, it didn’t disable the custom header.



    Try clearing your browser cache. You might still be looking at a cached version of your site.

    If you’re using a child theme, you can put the line DJPaul mentioned in your theme’s functions.php file.

    Cleared the cache as suggested and no change. Changed browser and no change. I’m using the default theme for buddypress 1.2, I don’t think that’s a child theme, is it? Where in functions.php do I add that line?

    Thanks :D



    Just put it on the first line of the file.

    If it *still* doesn’t work, put it on the first line in wp-config.php in your base HTML directory. That will override any defines on the site.


Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Disable custom header’ is closed to new replies.
Skip to toolbar