• Resolved TheMadWiddler1200

    (@themadwiddler1200)


    The title text on my websites browser tab repeats on every page. It wasn’t like this before. I’ve read that SEO plugins may cause this problem but I’m not using any SEO plugins at the moment. How can I change them back to normal? Thanks for your help!

Viewing 5 replies - 1 through 5 (of 5 total)
  • It appears that there is custom code (either in your theme or in a plugin) that duplicates the result of wp_title(). This can be done by using the wp_title() filter. So, you should look for occurences ofwp_title` in your plugins and the active theme (Customizr as far as I noticed). Then, one of the results will be responsible for the duplication.

    Also, you might want to check your tc_head_display() function and search for the tc_head_display filter for the reason (this function is responsible for displaying the <head> section), as it appears that you have two <title> tags, so there should be some custom code that causes this.

    Thread Starter TheMadWiddler1200

    (@themadwiddler1200)

    Hello, @tyxla

    Thanks for your response.

    I tried deactivating all my plugins one by one to see if any of them were causing this problem, but i kept on getting the same title text duplication. I don’t think my theme (Customizr) is causing this problem.

    I’m fairly new to wordpress, I’m not sure what this “tc_head_display()” you’re talking about is. Could you explain where I can find that to maybe make some changes on there?

    Thanks!

    Hi,

    If you open your page in the frontend and view its source code in your browser, you will see that you have two <title> tags. Also the title appears twice itself. Something is causing this duplication, and if it is not any of your plugins, then it is a piece of code in your theme (unless you’ve modified your core WP code).

    The tc_head_display() function is the function in the theme that takes care of displaying the <head> section, which contains the duplicate title. If this is not caused by a plugin, then you should start from there, tracing what hooks to the tc_head_display filter and creates this duplication.

    In order to investigate in-depth, you’ll need some developer skills. I’d gladly aid you, but I’d need access to your codebase in order to trace the issue.

    Also, I’ve tried activating this Customizr theme locally, and the issue does not occur at my side. So I can recommend that you update the theme to its latest version – perhaps this will solve the issue. Please, note that this would erase any modifications that you’ve done on the theme files.

    Thread Starter TheMadWiddler1200

    (@themadwiddler1200)

    Hi @tyxla

    I found out that my problem was caused by the recent update wordpress released. The theme I’m using was somehow make the title text appear twice. I got help from the themes forum page and now my problem is fixed.

    Thanks for your help!

    Hi MadWiddler1200,
    Can you let me know how you fixed this issue? or could you please post the forum page with the fix?

    Thanks in advance,
    C

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Title text on website browser tab repeats?’ is closed to new replies.