• Resolved albinas

    (@albinas)


    Hello,

    My theme has no post template. Just wondering, how to make that every post would have a different <title> tag?

    For example, right now all the website has a one <title> – MySite.Com

    I would like to make that when click on my post, a <title> would be:

    MySite.Com – Post Title

    Is it possible somehow?

    Thanks.

    a.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Look in your theme’s header.php file. You should see the <title> tags with some code in between them. That’s what determines your various page titles.

    here’s what I currently use:

    <title>
    <?php wp_title(''); ?>
    <?php if(wp_title('', false)) { echo ' &raquo; '; } ?>
    <?php bloginfo('name'); ?>
    </title>

    Thread Starter albinas

    (@albinas)

    Thank You. Problem is resolved.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Post <title>’ is closed to new replies.