WordPress.org

Ready to get started?Download WordPress

Forums

Have a link in Tagline/Description? (5 posts)

  1. chriggi
    Member
    Posted 9 years ago #

    Is that possible? I'd like to have to tagline at my blog with "..a weblog by XY..." link to my about-page or whatever. But HTML does not seem to work.

    Any ideas?

  2. Minna
    Member
    Posted 9 years ago #

    Is it the blog's tagline you are using there (the one you set in options)? Why not put the text you want to show in place of the template tag. Then I'm sure it'll work.

  3. chriggi
    Member
    Posted 9 years ago #

    Good idea :-)

    I'd kinda prefer using the tagline in terms of coherence etc. Is that impossible?

  4. Minna
    Member
    Posted 9 years ago #

    I tried a couple of things but they didn't work. I'd have to look at the inner workings to see if it's really impossible. Maybe someone else'll know.

  5. HardinComp
    Member
    Posted 9 years ago #

    I actually did this for my blog. I had the tagline "Brickbats for Asshats since 2004" on my old BraveJournal blog and I insisted on including it on my WP blog.

    I opened up header.php in my theme folder and did a little editing. I already have a class called SmallFont that I use when I want something in a small font that calls the following css:

    .SmallFont {font-size: .9em;}

    I made the following modification to my header.php to display the tagline:

    <div class="description"><?php bloginfo('description'); ?>
    <em class="SmallFont">Brickbats for Asshats since 2004</div>

    Note the line directly below where bloginfo('description') is called. (I wanted to include the whole block, but WP kept mucking up the h1 line so I deleted it from this post) That's how I insert my tagline, and it appears on every page. You can add a link with no problem.

    That may do just what you're thinking of.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags