Skip to:
Content
Pages
Categories
Search
Top
Bottom

Disable Custom Header

  • @dymund

    Participant

    Any help would be greatly appreciated. I am using the Simple WP Community Theme 1.6 and I am trying to disable the custom header. I went to the Functions.php file and I used the code:

    `/* Disable default themes header stuff */
    define( ‘BP_DTHEME_DISABLE_CUSTOM_HEADER’, true );`

    But when I do I get the error code:

    `/* Disable default themes header stuff */ define( ‘BP_DTHEME_DISABLE_CUSTOM_HEADER’, true );
    Warning: Cannot modify header information – headers already sent by (output started at /hermes/bosweb/web182/b1827/ipg.mywebsite/wp-content/themes/simple-wp-community-theme/functions.php:4) in /hermes/bosweb/web182/b1827/ipg.mywebsite/wp-admin/theme-editor.php on line 89`

    Not exactly sure what I am doing wrong.

Viewing 2 replies - 1 through 2 (of 2 total)
  • @r-a-y

    Keymaster

    Make sure your functions.php looks like this:

    `<?php
    /* Disable default themes header stuff */
    define( ‘BP_DTHEME_DISABLE_CUSTOM_HEADER’, true );
    ?>`

    @dymund

    Participant

    aahhhhhh I had part of it…was missing the last ?> THANK YOU SO MUCH!!!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Disable Custom Header’ is closed to new replies.
Skip to toolbar