简体   繁体   中英

ShareThis wordpress show share options on button click

Im using the share this wordpress plugin, currently i have a button which says share, when this is pressed i would like the share options to display but im not sure how to go about this...the only code i have right now is the button.

<div class="su-service-title" style="padding-left:30px;min-height:16px;line-  height:16px"><i class="fa fa-share-alt" style="font-size:16px;color:#575756"></i> Share</div>

When the user clicks this button how can i show the sharing options?

Thanks

Setting the onhover property to false should work for you:

stLight.options({ publisher:"c7a25472-030e-48ce-b630-a71f99cc53d9", onhover: false });

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM