bramdeleeuw / pinterestimagebuttons
为图像对象添加扩展,允许您放置一个Pinterest分享按钮,以便分享图像的高分辨率版本。
dev-master
2016-05-18 15:53 UTC
Requires
- silverstripe/cms: ~3.1
- silverstripe/framework: ~3.1
This package is auto-updated.
Last update: 2024-09-07 21:18:11 UTC
README
为图像对象添加扩展,允许您放置一个Pinterest分享按钮,以便分享图像的高分辨率版本。
要在您的图像旁边添加Pinterest按钮,只需在模板中添加以下行
$Image.PlacePinterestButton
此模块还向SiteConfig添加了一个字段,CMS编辑可以在其中添加Pinterest域名验证ID,您也可以在config.yml中设置此值。这样,该字段将不会在CMS中显示。
# _config/config.yml
PinterestButton:
pinterest_domain_verify_id: 'Your_ID'
待办事项
使用默认的Pinterest按钮和脚本要求