wpseo_title and wpseo_metadesc are not working shared post
-
Hi
First of all, great plugin! I also like the fact, that the title and description can be altered with filters. I’m using them to create dynamic title and descriptions.
Therefore I set in the Search appearance of the Yoast settings the SEO Title to title_is_set_by_filter.
In the filter I check then for that string and change the output.?public function seo_page_title($title)
? ? {
? ? ? ? if ($title !== ‘title_is_set_by_filter’) {
? ? ? ? ? ? return $title;
? ? ? ? }
//create custom title..That works perfectly for the posts and pages. But if I share a page, it looks like that:
As you can see, the title is not filtered. Any solutions?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘wpseo_title and wpseo_metadesc are not working shared post’ is closed to new replies.