[resolved] Title display issue (3 posts)

  1. Rhand
    Posted 4 years ago #

    Trying to display title in header echoeing it:

    echo '<h1 id="title"><a href="' . bloginfo('url') . '"' .  '  ' . 'title="' .bloginfo('name') .'">' . bloginfo('name') . '</a></h1>';

    It is parsed, but link is kicked out of h1 and url is printed instead of used to make the blog title link home:

    <div id="title-area">
    http://domain.com/zoneA ZoneA Zone
    <h1 id="title"><a title="" href=""></a></h1>

    Cannot figure out just yet why..

  2. Michael
    Part-Time Forum Moderator
    Posted 4 years ago #

    in strings, use: get_bloginfo('url') and get_bloginfo('name')

  3. Rhand
    Posted 4 years ago #

    Should have known that. Thanks a million!

Topic Closed

This topic has been closed to new replies.

About this Topic