WordPress.org

Ready to get started?Download WordPress

Forums

Having more than one line in the weblog title and tagline (8 posts)

  1. harisund
    Member
    Posted 8 years ago #

    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 !

  2. vkaryl
    Member
    Posted 8 years ago #

    I don't know that anyone ever figured out a way to do this. I'd like to know myself....

  3. harisund
    Member
    Posted 8 years ago #

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

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

  5. vkaryl
    Member
    Posted 8 years ago #

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

  6. Kafkaesqui

    Posted 8 years ago #

    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.

  7. vkaryl
    Member
    Posted 8 years ago #

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

  8. crazyjeremy
    Member
    Posted 7 years ago #

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

    Simply edit your header.php document.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.