andymacleod
Member
Posted 7 months ago #
I have enabled custom header image and text options. However, when I change Display Text to "No", the text still shows. How do I modify header_style to remove the header text?
[Code moderated as per the Forum Rules. Please use the pastebin]
Thanks,
Andy
What theme you are using? Do you wish to remove "Page Title"? or Site Title and Title tag? Your website? CSS link?
andymacleod
Member
Posted 7 months ago #
I'm designing my own theme... I'm trying to make it as flexible as possible, giving the user the choice to:
- display the site title and tagline (or not)
- display a custom header image (or not)
- display a custom background (or not)
I have managed to achieve the above options, apart from showing or hiding the site title and tagline.
I have temporarily removed the site title from header.php, since theme users will most likely wish to brand their theme with a header image anyway... but I'd still like users to be able to see their own site name and tagline in the header when they activate the theme...
Here's my current code
Thanks,
Andy
for ideas, look into Twenty Eleven functions.php -
function twentyeleven_header_style() {