Opencart删除演示目录
将我的网站链接粘贴到Facebook时间线时,预览中会出现演示横幅图像,尽管我已将其删除Opencart删除演示目录,opencart,opencart2.x,opencart2.3,Opencart,Opencart2.x,Opencart2.3,将我的网站链接粘贴到Facebook时间线时,预览中会出现演示横幅图像,尽管我已将其删除 您必须使用facebook开放图形标记。使用此选项可以设置标题、说明和图像。要设置图像,请使用以下命令 <meta property="og:image" content="IMAGE_URL" /> 在中使用这些标记。可能会有帮助,请尝试此Facebook标记,以便在Facebook中共享 Facebook已经制作了自己的标记语言来理解你网页中的内容。 这使得Facebook上的共享变
您必须使用facebook开放图形标记。使用此选项可以设置标题、说明和图像。要设置图像,请使用以下命令
<meta property="og:image" content="IMAGE_URL" />
在
中使用这些标记。可能会有帮助,请尝试此Facebook标记,以便在Facebook中共享
Facebook已经制作了自己的标记语言来理解你网页中的内容。
这使得Facebook上的共享变得易于管理、美观和容易。为此,您必须在网页的标题标签中添加以下标签
<meta property="og:url" content="Your current page's url" />
<meta property="og:type" content="content type" />
<meta property="og:title" content="Title of your page or title you want to show in facebook" />
<meta property="og:description" content="Short description what your webpage is about" />
<meta property="og:image" content="url of your image to be shown in facebook" />
你现在可以在facebook上分享美丽的内容了。
希望能有所帮助。在opencartI中的位置我已经提到,您需要在opencartI中使用所有打开的图形标记。因此,修改header.php并将代码放在那里。