• Resolved Gerard Blanco

    (@sixaxis)


    Hi Sybre,

    I’m helping a client that has a website with Genesis 1.9.2. Yes, ancient. The problem is that for several reasons I’m forced to use this version.

    Anyway, I just installed TSF and suddenly I find the SEO title that I enter in TSF displayed on the frontend: https://i.imgur.com/7hH33pe.png

    Do you have any clue about what’s happening, or even better, how can I stop that? I know that updating the theme will solve it, but unfortunately I can’t. And I thought that if the SEO title comes from TSF, maybe there’s a way, a filter or a hook to stop it.

    Thanks in advance for your help!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Sybre Waaijer

    (@cybr)

    Hi again!

    In 2014, WordPress changed how titles work:
    https://make.ww.wp.xz.cn/core/2014/10/29/title-tags-in-4-1/.

    This code should work for Genesis 1.9.2. However, I cannot verify whether it will work since WP Engine/StudioPress won’t make their GitHub public for Open Source Software, nor do they communicate with developers (even about security issues).

    add_action(
    	'after_setup_theme',
    	function() {
    		remove_action( 'genesis_title', 'wp_title' );
    		add_theme_support( 'title-tag' );
    	}
    );

    Still, it would be wise to update at some point and iteratively address changes for future updates. But I understand that — after too much deferring — nobody wants to tackle that. To still compliment Genesis, they have been fair in their backward compatibility and provide a stable upgrade path, so it should take no longer than an afternoon or two to upgrade your child theme.

    Thread Starter Gerard Blanco

    (@sixaxis)

    Sybre, you are awesome. Thank you very much, it works. I don’t see a buy me a beer button, so I’ll just purchase a month worth of Premium TSF even though I don’t need it 🙂

    Thanks again!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Mysterious title’ is closed to new replies.