mtpultz
Member
Posted 7 months ago #
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
in functions.php change this:
define( 'HEADER_TEXTCOLOR', '000' );
to this:
define( 'NO_HEADER_TEXT', true );
mtpultz
Member
Posted 7 months ago #
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
mtpultz
Member
Posted 7 months ago #
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?