• I’d like to be able to remove the Display Text and Text Color options from Twenty Eleven’s theme options page. Can anyone tell me how to do this? I figured out how to alter the theme options, get rid of the custom background but can’t figure out how to do this one.

    Thanks

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

    (@keesiemeijer)

    in functions.php change this:

    define( 'HEADER_TEXTCOLOR', '000' );

    to this:

    define( 'NO_HEADER_TEXT', true );

    Thread Starter mtpultz

    (@mtpultz)

    Thanks, that’s awesome. Where did you look to find that information? Removing that doesn’t remove it from the preview, Is that possible too? I did remove the text from the site by altering header.php and I can see where the text is added to the preview in custom-header.php but not anyway to stop it from showing up.

    Thanks again for that

    Thread Starter mtpultz

    (@mtpultz)

    I did notice that I can before setting define( ‘NO_HEADER_TEXT’, true ); in my functions.php that if I set the text header not to show up that that persists after uncommenting define( ‘NO_HEADER_TEXT’, true ); Sooo I sort of solved that. Guess if I look in the DB I could set it to “no” and then it wouldn’t show up on reuse of the child theme. Does that sound like a reasonable solution?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to remove Display Text and Text Color from TwentyEleven Custom Header Admin’ is closed to new replies.