Forums

Remove site title and tagline (4 posts)

  1. 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

  2. samfusion
    Member
    Posted 7 months ago #

    What theme you are using? Do you wish to remove "Page Title"? or Site Title and Title tag? Your website? CSS link?

  3. 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

  4. alchymyth
    The Sweeper
    Posted 7 months ago #

    for ideas, look into Twenty Eleven functions.php -

    function twentyeleven_header_style() {

Reply

You must log in to post.

About this Topic