WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] Removing redundancy in tab title.

[Resolved] Removing redundancy in tab title.

  • I was tasked with removing a redundancy in tab titles for a place I volunteer (site can be seen here http://www.iteclansing.org/). If you go to any page other than the homepage, you can see that it displays “ITEC Lansing” twice. I am hoping to remove one of them from displaying. I believe this is done in the header file for the theme, but I am not positive. Any help would be great.

    Thanks.

Viewing 9 replies - 1 through 9 (of 9 total)
  • Look in the header.php file and see what is inside your <title></title> tags, towards the top of the file.

    esmi

    @esmi

    Forum Moderator

    If you go to any page other than the homepage, you can see that it displays “ITEC Lansing” twice.

    Not for me using Firefox 14.

    Hmm. It shows that way in IE (and I believe Chrome). I’m on a work computer that won’t let me install another browser right now, so I’ll have to double check at home.

    As for the header.php file. I found it and it says “<title><?php woo_title(); ?></title>” at the top. I tried editing/removing that but it didn’t seem to change anything when I did a cache refresh on some pages.

    Edit – Just checked on a machine with Firefox 11, and it’s showing there as well.

    Are you using any SEO plugins? Looks like WordPress SEO is installed…

    And are we referring to the same thing? I see the title tag on the “News” page, for instance, as <title>ITEC Lansing | News | ITEC Lansing</title>

    Being that you removed the woo_title call, and nothing happened, my guess is to take a look at the SEO plugin settings. Probably just have a duplicated %blog_title% ( I think is the correct call, or at least close ) hanging around somewhere.

    esmi

    @esmi

    Forum Moderator

    Aha! You’re referring to the meta/tab title! I was looking for a duplicated menu item or similar. By the sounds of it, there’s an issue with the woo_title() function within the theme. Are you using an SEO plugin?

    Sorry for the confusion. I’ve only been using wordpress for a week, so I’m new to it all. It is indeed the ‘ITEC Lansing | (page name) | ITEC Lansing’ that I was referring to. The site also looks like it uses a SEO plugin. I’m poking around the plugin setting to try and figure it out, and the closest I have found was checking a box for ‘Force rewrite titles’. This however just displayed ‘- ITEC Lansing’ for every page instead.

    esmi

    @esmi

    Forum Moderator

    I think the real issue is your theme. It’s not using wp_title() to generate the meta title and, as most SEO plugins hook into wp_title(), it’s creating the duplication that you are seeing. Try switching to another theme to confirm this – such as Twenty Eleven.

    Well, I did a little clicking around within the SEO option of the theme. Somehow I clicked the right things it seems, and arrived to what we wanted. I selected check boxes for ‘Enable woo_title()’ and ‘Disable Custom Titles’. Then changed some dropdowns. So for now, it looks right.

    I’m going to go ahead and mark this resolved, though I’m not 100% sure if I took the correct procedures. Thank you two for pointing me in the right direction, I would have been still poking around in the wrong places otherwise.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘[Resolved] Removing redundancy in tab title.’ is closed to new replies.
Skip to toolbar