WordPress
- 2 ответа
- 0 вопросов
1
Вклад в тег
get_post_meta($post->ID, '_yoast_wpseo_title', true);
function filter_wpseo_opengraph_title( $title ) {
if($GLOBALS['super_seo_title']) {
$title = $GLOBALS['super_seo_title'];
}
return $title;
};
if(!get_post_meta($post->ID, '_yoast_wpseo_title', true) ){
$GLOBALS['super_seo_title'] = 'свой тайтл';
}