我们在图片中使用了data-pin-description标签,但它没有覆盖图片上的title标签,即使我们删除了图片上的标签,如果页面有描述的标记(比如og: description ),data-pin-description也会被完全忽略。我们做错了什么?我们如何才能迫使Pinterest覆盖这些描述?
例如,在下面的示例中,当访问者单击Pinit按钮时,它显示的描述是“Granite Green,热/冷散装食品储存柜”。
<img src="/images/enlarged/CMBH1826-192.jpg" data-pin-id='4107' data-pin-description='The cabinet body is a tough, one-piece seamless double-wall polyethylene shell that is easy to maintain and clean and wont dent, crack, rust, chip or break. Model: CMBHC1826LF-192 by Cambro' title="Granite Green, Hot/Cold Bulk Food Holding Cabinet">发布于 2016-09-19 07:09:33
在您的按钮链接中,您可以将描述作为参数添加,例如:
<a href="http://pinterest.com/pin/create/button/?description=DescriptionText" data-pin-save="true">Pin It</a> 来源-谢尔盖,Custom Pinterest button for custom URL (Text-Link, Image, or Both)
https://stackoverflow.com/questions/36681271
复制相似问题