Hi, for my home page (index.php), I want to show a title like this:
My Blog Name - my blog's slogan here
but for every other page/post I want to show
(wp title) | My Blog Name
How can I do this? Thanks in advance.
Chris
Hi, for my home page (index.php), I want to show a title like this:
My Blog Name - my blog's slogan here
but for every other page/post I want to show
(wp title) | My Blog Name
How can I do this? Thanks in advance.
Chris
I'm sorry I accidentally posted this in the Installation category.
[don't worry: moved]
Check out Conditional_Tags.
In your theme's header, you could use is_home(), for instance.
Thanks HandySolo. I tried using is_home() but I'm not sure how to incorporate that into the title for lack of programming skills I suppose.
Could you elaborate? I appreciate it.
Thanks,
Chris
Something like that:
<title>
<?php if is_home()
{ bloginfo('name'); blabla slogan }
else
{ wp_title(); bloginfo('name');}
?>
</title>
Thanks but I get this error when I insert that in between my title tags:
Parse error: syntax error, unexpected T_STRING, expecting '(' in /home/... in line 6
This topic has been closed to new replies.