• Resolved wriper

    (@wriper)


    Hello,

    I understand there is an option to change seo title template trough settings. But i dont need to change it for all posts on my website but only for specific categories like posts in category “cars” will have template like %NAME % SEP % CATEGORY% all other posts will have default like %NAME%SEP%WEBSITE%

    Is there hook or function for that please?

    Thank you

Viewing 1 replies (of 1 total)
  • Plugin Support Mushrit Shabnam

    (@611shabnam)

    Hi @wriper

    You can set your required title for preferred posts using the wpseo_title filter.

    The Yoast SEO plugin code documents the available developer filters for customizing many of our plugin features. We also have a developer portal with more information about filters and many examples of how to implement them.

    You or your developer can use the filters to customize the title as required. Typically code snippets are added to your theme’s functions.php file. If you’re unfamiliar with using code snippets, we’d like to refer you to the WordPress documentation on how to use a filter.

Viewing 1 replies (of 1 total)
  • The topic ‘Change seo titles only for posts in specific categories’ is closed to new replies.