WordPress Titles and Descriptions (1 post)

  1. Dustin
    Posted 3 years ago #

    Could someone explain how to edit the code below to include the blog description (tagline) when on the homepage, and when on a blog post to only include the post name with no blog description or name?

    <title><?php wp_title('|', true, 'right'); ?><?php bloginfo('name'); ?></title>

    Thanks :)

Topic Closed

This topic has been closed to new replies.

About this Topic