WordPress.org

Ready to get started?Download WordPress

Forums

Strapline for blog (7 posts)

  1. Anonymous
    Unregistered
    Posted 9 years ago #

    Hi, I've just been building my site in WordPress, and have been busy designing my stylesheet (still a work in progress).
    I found one small problem straight off: WordPress didn't offer me a chance to create a strapline (or sub-title) for my blog, so I had to hardwire it into my index.php
    It was only a small task, but it would have been nice to have it as part of the setup, so that I didn't have to hardwire it into index.php, which feels a little crude

  2. TechGnome
    Moderator
    Posted 9 years ago #

    Did you try this:
    <?php bloginfo('description'); ?>
    More can be found her in the Wiki
    TG

  3. davidchait
    Member
    Posted 9 years ago #

    Even still, many styles/templates don't output the blog description -- my one 'published' template I added that to the index.php as well.
    -d

  4. MisterGog
    Member
    Posted 9 years ago #

    Thanks, got that now!
    Pity that it doesn't seem to be used in the standard template :(
    Isn't it also a bit silly that the "options" scren labels it "tagline", but the template uses 'description' to access the same resource?

  5. Beel
    Member
    Posted 9 years ago #

    I don't know if I'd use the word "silly" but your point is well taken ;-)

  6. TechGnome
    Moderator
    Posted 9 years ago #

    That's because in a previous incarnation, it was called "description" and that's what it is still called in the options table AFAIK. The label on the screen for it has changed, but the option name has remained the same.
    TG

  7. MisterGog
    Member
    Posted 9 years ago #

    Sorry if I caused any offence by calling it "silly" -- "confusing" might be a better word.
    Thanks for the explantion of what happened. The reaming makes sense, but wouldn't it now make sense to standardise the wording, and allow
    <?php bloginfo('tagline'); ?>
    ... with 'description' still remaining functional for legacy support?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.