• Dear Yoast Team,

    thank you for the great plugin.

    I have a suggestion: In my template, I have a line of code where I want to retrieve the original wp_title without my blog name. This does not work with Yoast SEO enabled because it will always add my page title to it.

    This is why I make a workaround where I disable the SEO filter temporarily before this line of code and re-enable it after it. This is very hacky, which is why I am asking you if there is a chance that you will add such a feature.

    As a more clear suggestion:
    In the generate_title function of the WPSEO_Frontend class, pass one more variable to the wpseo_title filter: the $original_title you already save in that function. This would make it much easier to retrieve the original title my just adding a very simple temporary filter.

    Thanks

    https://www.ads-software.com/plugins/wordpress-seo/

  • The topic ‘SUGGESTION: Make it possible to get original wp_title’ is closed to new replies.