Digital experiences for all disciplines
New Landing › How can we help? › Themeforest Theme Support › Dante › Blog Post Social Sharing
New Landing › How can we help? › Themeforest Theme Support › Dante › Blog Post Social Sharing
- This topic has 13 replies, 7 voices, and was last updated 10 years by Kyle – SUPPORT.
-
Posted in: Dante
-
January 26, 2014 at 7:10 am #44732
I was wondering if there was a way to change the social sharing profiles in the blog posts. My client would rather use linkedin instead of Pinterest, so I was wondering if there was a way that I could swap out the pinterest sharing. Is that possible?
Thanks for your help.
January 29, 2014 at 7:18 am #45462Hi,
I just checked in version 1.51 . The linkedIn profile option is there in the Theme Options -> Social Profiles section. Do you have the latest theme version ?. If not please update.Thanks
TahirJanuary 29, 2014 at 9:33 pm #45651Hi Tahir,
Yes the LinkedIn field is in the Social Profiles in the THeme options and shows at the top of the page BUT thats not what im asking about.
On a blog post there is a sharing options for the post at the start of the article, the options are facebook, google, email, twitter, love it, and Pinterest. I want to change the Pinterest to Linked in here. When I create a new blog post in the Main options there is a checkbox that says:
“Include social sharing – Check this box to show social sharing icons on the detail page.”But there is no option that I can see that controls which options show in the blog post social sharing. All I want is to change the default option where it shows Pinterest and change to Linkedin. How can I do this? If there is code I need to adjust can you let me know the page and line?
January 30, 2014 at 11:43 am #45778Hi,
Thank you for the details. You can find the code in ‘single.php’ line 285.Best,
TahirFebruary 17, 2014 at 9:52 pm #49734See my post about this here:
http://support.swiftideas.net/forums/topic/enable-reddit-in-social-sharing-sharethis/
Instead of the Reddit code, use this:
<span class='st_linkedin_hcount' displayText='LinkedIn'></span>
February 20, 2014 at 1:41 pm #50525Thank you grokism!
April 22, 2014 at 12:54 pm #69120Hi,
That’s for the Flexform theme not Dante. How do you achieve this with Dante?
ThanksApril 22, 2014 at 1:10 pm #69124Fixed.
The URL structure is slightly different for LinkedIn. (shareArticle?url)Add this to the ‘single.php’ file for sharing on linkedin:
Hope this helps.
April 22, 2014 at 1:11 pm #69126sorry.
<li class=”linkedin”>” class=”post_share_linkedin” onclick=”javascript:window.open(this.href,”,’menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=220,width=600′);return false;”><i class=”fa-linkedin”></i><i class=”fa-linkedin”></i>
April 22, 2014 at 1:28 pm #69129Sorry again, just realized the pasted code above was f*ç@#d up.
Here’s the code again, hopefully should paste properly:
<li class="linkedin"><a href="https://www.linkedin.com/shareArticle?url=<?php the_permalink(); ?>" class="post_share_linkedin" onclick="javascript:window.open(this.href,'','menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=220,width=600');return false;"><i class="fa-linkedin"></i><i class="fa-linkedin"></i></a></li>
April 22, 2014 at 3:53 pm #69175Hi there ,
Thanks For code share 🙂
With Best Regards
Swift IdeasApril 22, 2014 at 3:57 pm #69178Ok great! Glad you managed it 🙂
– Kyle
April 22, 2014 at 4:00 pm #69185No prob 😉
April 22, 2014 at 5:13 pm #69197🙂
-
Posted in: Dante
The topic ‘Blog Post Social Sharing’ is closed to new replies.