Forums

[resolved] Dynamic Title Tags Not Working (1 post)

  1. sess4561
    Member
    Posted 2 years ago #

    I have just built my very first custom wordpress blog, but unfortunately, dynamic title tags are not working?

    I don't know what I am doing wrong.

    I have the following code at the top of my header.php file:-

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <title><?php wp_title(' '); ?><?php if(wp_title(' ', false)) { echo ' &raquo; '; } ?><?php if ( is_single() ) { ?> Blog Archive &raquo; <?php } ?><?php bloginfo('name'); ?></title>
    <meta charset="<?php bloginfo( 'charset' ); ?>" />
    <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" />
    </head>

    Could someone please point me in the right direction.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags