WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Removing redundancy in tab title. (10 posts)

  1. NoblesseOblige
    Member
    Posted 1 year ago #

    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.

  2. dtrickky
    Member
    Posted 1 year ago #

    Look in the header.php file and see what is inside your <title></title> tags, towards the top of the file.

  3. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    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.

  4. NoblesseOblige
    Member
    Posted 1 year ago #

    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.

  5. dtrickky
    Member
    Posted 1 year ago #

    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.

  6. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    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?

  7. NoblesseOblige
    Member
    Posted 1 year ago #

    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.

  8. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    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.

  9. NoblesseOblige
    Member
    Posted 1 year ago #

    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.

  10. NoblesseOblige
    Member
    Posted 1 year ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic