WordPress.org

Ready to get started?Download WordPress

Forums

Title + Description on index (7 posts)

  1. min6
    Member
    Posted 8 years ago #

    Hi all,

    I'd like to change the page title of my blog. Now it is:

    On the index
    Title of Blog

    On a single entry page
    Title of Blog >> Name of the entry

    I want on the index:
    Title of Blog + Description of the blog

    ...but I don't know how to fix this.
    Can anyone help maybe?

    Thnx!
    Wim

  2. moshu
    Member
    Posted 8 years ago #

    Look in your header.php at the <title> tag.
    You'll see there are different Template_Tags used. Try to replace e.g. the_title with bloginfo(description) > see the proper format on the Codex page linked above.

  3. min6
    Member
    Posted 8 years ago #

    Thanks, but I'm sorry, I don't know how to do this.

    The thing is: in a single entry I don't want the description to be in the title... I want that only on the first index page.

  4. moshu
    Member
    Posted 8 years ago #

    There are ConditionalTags used in there, like "if is_single"... study it and replace whatever you need to.

  5. min6
    Member
    Posted 8 years ago #

    The ConditionalTags page does not work...

  6. moshu
    Member
    Posted 8 years ago #

    It works if you "correct" the URI:)
    http://codex.wordpress.org/Conditional_Tags
    (there wasn't an underscore _ between the two words, sorry)

  7. cheesemasterdan
    Member
    Posted 8 years ago #

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.