[Plugin: WordPress SEO by Yoast] Is there a WP SEO API to override title?
I know that’s a loaded question, but here is my situation:
Custom post type for complex product hierarchy. Each product has six sub tabs, each with a different chunk of details about the product. In order to keep it easy for the client to manage (i.e., not having to manage six pages for each product), I have custom fields set up for each tab. When one of the sub-tabs is loaded, I grab the URL endpoint and display the corresponding custom fields. Since those endpoints are the same for each product, this is relatively smooth from the user standpoint.
Problem is, these sub tabs then all share the same title and meta information.
I’d like to add a few more custom fields for each sub-tab’s title and meta content, but the question is, how can I override the main product page’s title that WP SEO is inserting? Is there an API function I can tap into? And if so, what is the best action hook or filter to use for doing so?
Thanks for any help you can provide.
- The topic ‘[Plugin: WordPress SEO by Yoast] Is there a WP SEO API to override title?’ is closed to new replies.