Hypen in front of Homepage Title
-
On my wordpress page, here is what I have under <title> in my header.php:
<title> <?php if (is_home ()) { ?> <?php bloginfo('name'); ?> - <?php bloginfo('description'); ?> <?php } else { ?> <?php wp_title($sep = ''); ?> - <?php bloginfo('name'); ?> <?php } ?> </title>
I have my Front Page set as “Home” and my Blog Page set as “Blog”.
Problem 1.) The “Home” page appears to be set like any of the other pages, but “Home” doesn’t display, where as “Contact” does. That’s why the homepage looks like it has a – hyphen before it. I want to remove the hyphen from this page.
Problem 2.) I really would just like a consistent way to title pages, so they’re all similar. I’d like to have the page name, blog name and tagline on every page (except “home”, like explained in problem 1).
Is this possible?
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Hypen in front of Homepage Title’ is closed to new replies.