Hi there.
I'm having an issue with the <Title></Title> tags within the Header section of each page on my WordPress site (which has a customised theme).
The problem is that it is appending the 'Blog Title' to the Title section of each page.
At the moment my page titles are appearing as:
PAGE NAME | BLOG TITLE
I'd like to change this so I have the following format:
PAGE NAME
I've tried altering the <Title> section of the Header.php file but to be honest I'm out of my depth and could really do with some advice from someone more experienced.
The following is an extract from my Header.php file:
_______________________________________________________________________
<head profile="http://gmpg.org/xfn/11">
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
<?php
$is_pokie = (bool) $wp_query->query_vars['pokie'];
$cat = get_the_category();
$cat = $cat[0];
$override = False;
if($is_pokie){
if($cat->object_id == 45 || $cat->object_id == 53)
{
$override = True;
}
}
if($override) {
ob_start('replace_head');
}
?>
<title><?php wp_title('«', true, 'right'); ?> <?php bloginfo('name'); ?></title>
<?php if($override) { ob_end_flush(); } ?>
<?php
$home = get_settings('siteurl');
?>
_________________________________________________________________________
Thanks very much for taking the time to look at my query.