从头版删除“主页标题”,同时将网站链接复制并粘贴到社交媒体

问题描述 投票:-4回答:2

我使用Divi Builder创建了Wordpress网站

每当我分享与linkedin的链接

enter image description here

我需要在LinkedIn上分享时删除或编辑“主页”标题作为更改首页标题没有工作。

任何帮助都会节省我的一天

谢谢

wordpress share linkedin social
2个回答
1
投票

那是因为你的页面名称。 LinkedIn在帖子上将页面名称作为标题。您可以更改页面名称,就像您希望在帖子中显示其他标题一样。您可以通过更改页面名称来保持与任何名称相匹配的标题。

转到wordpress网站管理员内的页面,而不是编辑主页标题。当您将url放在那里时,自动更改将在linkedin帖子上显示。


1
投票

为此,您必须确保您的代码符合Open Graph Protocol(OGP)。为此,您必须添加以下元标记:

<meta property='og:title' content='Title of the article"/>
<meta property='og:image' content='//media.example.com/ 1234567.jpg"/>
<meta property='og:description' content='Description that will show in the preview"/>
<meta property='og:url' content='//www.example.com/URL of the article" />

无论你在meta property='og:title'中添加什么价值,都会在linkedin上显示为标题。

更多信息在这里:https://www.linkedin.com/help/linkedin/answer/46687/making-your-website-shareable-on-linkedin?lang=en

© www.soinside.com 2019 - 2024. All rights reserved.