Support » Themes and Templates » Having more than one line in the weblog title and tagline

  • Is there a way I could do that?

    I entered
    line 1 <br> line 2
    in the weblog title section and the tagline section, but apparently HTML is not processed there.

    Any suggestions? Thanks !

Viewing 7 replies - 1 through 7 (of 7 total)
  • I don’t know that anyone ever figured out a way to do this. I’d like to know myself….

    haha.. even I am waiting for a method to do so…

    Edit your theme and manually enter a title rather than setting it via the admin area.

    Hmmm. Yeah, that works okay for the title (though in a lot of ways it’s a kludgy workaround), I don’t think it works real well for the descrip though….

    Perhaps something like

    <?php
    echo substr_replace(get_bloginfo('name'), '<br />', 12, 0);
    ?>

    and

    <?php
    echo substr_replace(get_bloginfo('description'), '<br />', 12, 0);
    ?>

    Change 12 to the # of characters in for the name or tagline where you want the break to occur.

    Ooooh – that looks like may work…. I’ll try it and report back, KafkaesquĆ­ – thanks!

    To those who want to know… this DOES work. I’ve tested it on WP 2.05.

    Simply edit your header.php document.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Having more than one line in the weblog title and tagline’ is closed to new replies.