1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-04 10:19:24 +02:00

Improve SEO descriptions and title

This commit is contained in:
DanieL 2022-06-20 10:19:08 -03:00
parent b62b62c80a
commit c0532f5ead
7 changed files with 7 additions and 7 deletions

View file

@ -43,7 +43,7 @@ if (!empty($images->posterPortrait) && basename($images->posterPortrait) !== 'no
$img = $images->poster;
}
$twitter_site = $advancedCustom->twitter_site;
$title = _substr(html2plainText($video['title']), 0, 55);
$title = getSEOTitle($video['title']);
$description = getSEODescription($video['description']);
$ogURL = Video::getLinkToVideo($videos_id);
?>