大网数据广告活动
网站运营与故障问答

Is "article:tag" meta tag necessary?

· 52CE 我爱测

I just changed my Wordpress theme and I can't find <meta property="article:tag" content=" " /> in my posts and pages metadata. Are they really necessary? If they are how do I add them back?

问题原文

原帖链接 · Abhishek Macwan · CC BY-SA 3.0

I just changed my Wordpress theme and I can't find <meta property="article:tag" content=" " /> in my posts and pages metadata. Are they really necessary? If they are how do I add them back?

已采纳解答

原帖链接 · Sathiya Kumar V M · CC BY-SA 3.0

<meta property="article:tag" content="Article Tag" /> is one of the Facebook Open Graph tags. Having social media metadata in the website is one of the best practice as it will tell how our webpage's Title, URL, Image, Description, site_name etc should display while sharing. But I don't think <meta property="article:tag" content="Article Tag" /> is necessary as it is not in the Standard Open Graph tags

<!-- Open Graph data -->
<meta property="og:title" content="Title" />
<meta property="og:type" content="article" />
<meta property="og:url" content="http://www.example.com/" />
<meta property="og:image" content="http://example.com/image.jpg" />
<meta property="og:description" content="Description" />
<meta property="og:site_name" content="Site Name" />
<meta property="fb:admins" content="Facebook numeric ID" />

Still if you want to add that tag you can add like

<!-- Open Graph data -->
<meta property="og:title" content="Title" />
<meta property="og:type" content="article" />
<meta property="og:url" content="http://www.example.com/" />
<meta property="og:image" content="http://example.com/image.jpg" />
<meta property="og:description" content="Description" />
<meta property="og:site_name" content="Site Name" />
<meta property="article:published_time" content="2015-11-11T19:08:47+01:00" />
<meta property="article:modified_time" content="2015-11-11T19:08:47+01:00" />
<meta property="article:section" content="Article Section" />
<meta property="article:tag" content="Article Tag" />
<meta property="fb:admins" content="Facebook numberic ID" /> 

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Webmasters Stack Exchange
适用范围
以原帖系统、软件版本与发布日期为准(2015-11-11)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 3.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。