I would like the title of my blog to look as you factor while its around the home page, then one else when it's otherwise on my small blog.
Performs this code look right?
<title> <?php if ( is_home() ) echo "Blog Title" //When on the homepage else echo ucwords(wp_title('',true)); //Name of blog article echo ucwords(get_bloginfo('name')); //Followed by site name ?> </title>
Any feedback is appreciated.
Presuming that the functions will work and locating the right data, that code is perfectly appropriate for what you are utilizing it for.
Just one factor you need to pass
false within the
wordpress_title function echo the title when the second argument is passed as true, if it's passed false it'll return the title for more procedures