• Resolved DFC005

    (@dfc005)


    I have been using the wpseo_title filter in my functions.php to dynamically add some extra words to the title for some posts/pages.

    Noticed this morning the code is no longer doing what it has done in the past and am not sure how long it has been not working.

    The code is quite simple, with an example below…

    
    add_filter('wpseo_title','update_title');
    function update_title( $title ) {
        return $title." NRL";
    }
    

    Could this be a conflict with another plugin perhaps?

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi @dfc005 ,

    We are sorry for the issue you are having. Can you please confirm if the same issue happens with Yoast SEO 14.5? The wpseo_title is still expected to work.
    Can you please try performing a conflict check? You may follow the steps here: https://yoast.com/help/how-to-check-for-plugin-conflicts/.

    Thread Starter DFC005

    (@dfc005)

    Oh wow. That is a fantastic tool for finding plugin conflicts!

    Indeed to was another plugin that was causing the issue. Disabling it’s SEO functionality has returned my titles to all their glory.

    Appreciate the quick response.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘wpseo_title filter no longer working?’ is closed to new replies.