I can’t see anything wrong on your site. Can you clarify, please?
Hi esmi,
Sorry, my blog name ‘ALB’ is showing twice on the title bar of the browser window.
Take this PAGE for example. It reads ‘ALB | AboutALB!’
I only want the format ‘ALB | About’.
However, it is NOT DUPLICATED on my FRONT PAGE (homepage) which is correct.
Thanks for you help 🙂
Try:
<title><?php is_front_page() ) bloginfo('name');
else wp_title(''); ?></title>
Thanks esmi,
but it’s says there is a syntax error in dreamweaver with the code you suggested…
Sorry – my bad. Try:
<title><?php if( is_front_page() ) bloginfo('name');
else wp_title(''); ?></title>
Thanks esmi you’re a star!
I would also like to show
bloginfo(‘description’)
on the front page. How can I achieve this?
Thanks again!
<title><?php if( is_front_page() ) :
bloginfo('name');?> | <?php bloginfo('description');
else: wp_title(''); ?></title>
Thanks for your help esmi,
But again the code you suggested threw up a syntax error in my header.php. SO NEARLY THERE!
I did find an interesting article here and I have implemented the code but again my site title is duplicated at the end of my front page, pages and posts titles! e.g About | ALBALB.
Any suggestions? Thanks again.
What was the syntax error?
Are you using Yoast WordPress SEO?
esmi, I’m not sure exactly the error is on a blank line?!
See my screen shot
wvasko, no i’m not using the Yoast WordPress SEO plugin…should I be?
Thanks
BTW, I am using a child theme of Fluxipress.
I can’t see an obvious syntax error.
no, I had that kind of problem with Yoast wp SEO plugin, my site name was displayed twice, but I’ve sorted out that one.
wvasko, how did you sort it out?
esmi, yes it’s strange I’m stumped!
Did anyone take a look at this article I mentioned previously?
I implemented the code from the article but again my site title is duplicated!