Hi,
I have recently published my first blog: http://www.bloggingcss.com
I have a problem on the single post pages and the archive pages, the problem being that if I click on the blog logo, which is linked to the home page, I don't get the home page. In one word, the link doesn't work.
The only "unconventional" thing that I've done about that link is building a function to wrap it in h1 tags on the home page and h4 tags in every other page (for SEO reasons). I don't think this has something to do with it, as the generated html is correct, but anyway here is the function:
<?php
if (is_home()) {
$titleTagOn = "<h1>";
$titleTagOff = "</h1>";
} else {
$titleTagOn = "<h4>";
$titleTagOff = "</h4>";
}
?>
And here is how I call it:
<div id="logo"><?php echo $titleTagOn; ?><a href="index.php">Blogging CSS</a><?php echo $titleTagOff; ?></div>
Can anybody help?
TIA