迅睿cms如何增加schema结构化数据?
代码如下:
<?php
$startDateTime = new DateTime($inputtime);
$startDate = $startDateTime->format(DateTime::ATOM);
$site_url = rtrim(SITE_URL,'/');
?>
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Article",
"headline": "{$title}",
"description": "{$description}",
"author": {
"@type": "Person",
"name": "华军科技数据恢复中心",
"url":"{$site_url}{$url}"
},
"datePublished": "{$startDate}",
"image": "{$site_url}{dr_get_file($thumb)}"
}
</script>
本文关键词: 增加 迅睿cms 结构化数据
希望以上内容对你有所帮助!如果还有其他问题,请随时提问。 各类知识收集 拥有多年CMS企业建站经验,对 iCMS, LeCMS, ClassCMS, Fastadmin, PbootCMS, PHPCMS, 易优CMS, YzmCMS, 讯睿CMS, 极致CMS, Wordpress, HkCMS, YznCMS, WellCMS, ThinkCMF, 等各类cms的相互转化,程序开发,网站制作,bug修复,程序杀毒,插件定制都可以提供最佳解决方案。