wordpress - Javascript Share Bar URL Modification Issues -
i'm having hard time getting share bar on left hand side of following page work properly:
https://www.tisaneteas.com/blog/understanding-how-the-ph-scale-works/
there's js file called social-share-kit-post.js has following code:
function geturl(options, network, el) { var url, dataopts = getdataopts(options, network, el), shareurl = getshareurl(options, network, el, dataopts), title = typeof dataopts['title'] !== 'undefined' ? dataopts['title'] : gettitle(network), text = typeof dataopts['text'] !== 'undefined' ? dataopts['text'] : gettext(network), image = dataopts['image'] ? dataopts['image'] : getmetacontent('og:image'), via = typeof dataopts['via'] !== 'undefined' ? dataopts['via'] : getmetacontent('twitter:site'), paramsobj = { shareurl: shareurl, title: title, text: text, image: image, via: via, options: options, shareurlencoded: function () { return encodeuricomponent(this.shareurl); } };
i'm trying replace url bitly url can track clicks , shares on bitly. furthermore, when people share content, bitly link shorter titles of articles can extremely long.
please let me know if can help! bitly link wordpress plugin being echo'd via shortlink page next "back posts".
here's photo: http://www.tisaneteas.com/link.jpg
thanks, stephen
Comments
Post a Comment