• Title looks like:
    For main page: Site_name | Site_descriptionSite_name (no space between Site_description and Site_name ) | Site_description
    For page and post: Post/Page_name | Site_nameSite_name (dublicate Site_name and not space between Site_name and Site_name)

Viewing 11 replies - 1 through 11 (of 11 total)
  • I have the same problem – or even worse: In my source code the title tag is created twice PLUS that each title tag contains the site name and site description twice! Looks like that:

    <title>"site_name" | "site_description""site_name" | "site_description"</title>
    (... some link rel stuff...)
    <title>"site_name" | "site_description""site_name" | "site_description"</title>

    I’m not sure if it’s a problem of Costum Community – on the other hand in my case I don’t use any SEO plugin so far.

    header.php gives the following code:
    <title><?php wp_title( '|', true, 'right' ); ?></title>
    which doesn’t explain
    a) why the title and description are given twice
    b) why the title tag is generated twice.

    For a test I met plain text inside the title tag in header.php. This will change the first title tag, but the second is remaining.

    Putting <title><?php wp_title(); ?></title> won’t do any changes.

    Any ideas out there? I can’t give my example now because I have the interims plain text solution.

    Thread Starter Pavel Kutyurin

    (@blackgrizzly)

    Hello! My problem is solved! I installed the plugin Yoast WordPress SEO and deleted it. And all was corrected =)

    Good for you, I have the problem without SEO plugin *sigh*

    Thread Starter Pavel Kutyurin

    (@blackgrizzly)

    I don’t have an SEO plugin. But when I tried to put Yoast WordPress SEO, apparently it broke then.

    Hi folks,

    gonna file this as a bug in the official bug tracker at Github. At the current time I can only guess, what this might be caused by.

    But: What I do know is, that there was a new title handling introduced to WP lately (4.0? 4.1?), and its being further improved .. so any plugin that is hooking into the wp_title filter, which is not up-to-date with these changes, might cause issues.

    Of corpse that counts especially for SEO plugins, as they try to rewrite the title tag. AFAIR, the Yoast SEO plugin did have some issues with this new WP feature in the near past as well.

    So, best option is – check if all of your plugins are up-to-date, and if any of them might filter the title tag of your site. SEO plugins, as already mentioned, are prime candidates, others might be e-commerce / shop plugins (eg. WooCommerce), maybe BuddyPress or bbPress, any kind of message board / forum solutions .. you name it.

    cu, w0lf.

    Ok, tested it, and there might be a conflict with a function located at the very end of (custom community-directory)/includes/extras.php

    https://themes.trac.www.ads-software.com/browser/custom-community/2.0.25/includes/extras.php#L274

    For a quick fix, uncomment the complete function, starting from (and including) if( !function_exists( '_tk_wp_title' ) ) : till endif;

    An updated version should be up soon in the official github repo at https://github.com/Themekraft/Custom-Community

    Just download the file itself and overwrite the existing one in your wordpress installation (Path normally would be: (your-site)/wp-content/themes/custom-community/includes/ ;))

    cu, w0lf.

    I am having this same issue with the site https://www.morganlindenschmidt.com

    I looked, and my extras.php already has that _tk_wp_title function uncommented.

    Any other ideas? Apart from this, CC2 is working beautifully once I adapted past the migration from 1.x.

    FIXED. I replaced the extras.php file with the one from github and it worked. Sorry for not trying this sooner.

    @w0lf – thanks for having a look on it, didn’t dig into the extras.php ??
    I will have to give it a try on my project…

    Thread Starter Pavel Kutyurin

    (@blackgrizzly)

    This problem is still not solved! This is a problem in the theme Twenty Fourteen!

    Thread Starter Pavel Kutyurin

    (@blackgrizzly)

    I use Bubble SEO plugin.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Dublicate site name in Title’ is closed to new replies.