-
AuthorPosts
-
November 27, 2014 at 7:53 am #358871
Hi Enfold,
I successfully used Shortcode Exec Plugin to create a shortcode to display social sharing links with text editor. In the plugin I used this single line found in the forum: avia_social_share_links(); It is working like a charm but I need some other things for it to be perfect:
1- Tracking and displaying the number of shares for each social network ( 98 [facebook icon] | 112 [twitter icon] … ),
2- Adding a simple ‘copy link to clipboard’ at the end of the list.
3- I used the same method in the AJAX portfolio which is in my homepage, but obviously it is the home page which is linked and not the portfolio item page. Is there a parameter to give in the function avia_social_share_links(); to have the portfolio item url linked instead of the page where the AJAX portfolio is?
4- Additionnally as a simple question, do you think it will be easy to add a ‘local like’ which will be recorded for my website only, a kind of ‘click counter’ much like the one on Behance project pages? I am thinking about using things like a survey in disguise or a custom click counter but maybe you know something faster.Regards,
GoldKoiFishNovember 28, 2014 at 4:22 pm #359617Hi GoldkoiFish!
1. You can grab the code for that from these links.
https://developers.facebook.com/docs/plugins/like-button
https://about.twitter.com/resources/buttons2. Not really sure if this is possible. I found this which may help, http://stackoverflow.com/questions/22581345/jquery-click-button-copy-to-clipboard.
3. The links will grab the URL of the current page / post it is on. So if you use it on a portfolio post then it should be using the portfolio post permalink.
4. I don’t know of any that I can recommend. Perhaps some of these will work, https://wordpress.org/plugins/tags/click-counter.
Cheers!
Elliott -
AuthorPosts
- You must be logged in to reply to this topic.