Tagged: , ,

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
  • #196937


    I just found this nice (and quite pretty) way to avoid heavy java scripts and plug-ins for social Following and Sharing. Could be a nice alternative…


    Will try and get it working in Enfold in the next couple of days but I’m no programmer so if this is trivial for someone else, please let us know how to do it!



    Hi peterfagerberg!

    Thanks for sharing it, do you want it for Posts or Pages? you will need to change the URL parts (in the HTML) by the_permalink() function.



    Hi Josue!

    I would primarily like to use it for posts and either just have linked text or maybe use the Entypo icons. Do you think you have time to give me a short instruction on how to set it up and maybe an example of how to use the the_permalink() function?

    Best regards, ///Peter


    The HTML code would look like this:

    <a target="_blank" href="https://twitter.com/intent/tweet?text=<?php the_title(); ?>&url=<?php the_permalink(); ?>&via=@username">Tweet</a>
    <a target="_blank" href="http://www.facebook.com/sharer/sharer.php?u=<?php the_permalink(); ?>">Share on Facebook</a>
    <a target="_blank" href="https://plus.google.com/share?url=<?php the_permalink(); ?>">Plus on Google+</a>
    <a target="_blank" href="http://www.linkedin.com/shareArticle?mini=true&url=<?php the_permalink(); ?>&title=<?php the_title(); ?>&summary=<?php avia_excerpt(50); ?>&source=<?php the_permalink(); ?>">Share on LinkedIn</a>
    <a target="_blank" href="http://pinterest.com/pin/create/button/?url=<?php the_permalink(); ?>&description=YOUR-DESCRIPTION&media=YOUR-IMAGE-SRC">Pin on Pinterest</a>
    <a target="_blank" href="https://vk.com/share.php?url=<?php the_permalink(); ?>&title=<?php the_title(); ?>&description=YOUR-DESCRIPTION&image=YOUR-IMAGE-SRC&noparse=true">Share on VK</a>
    <a target="_blank" href="https://www.xing-share.com/app/user?op=share;sc_p=xing-share;url=<?php the_permalink(); ?>">Share on Xing</a>



    Thanx Josue! You guys have one of the best supports I’ve ever seen! Feel really safe working with Enfold and not having hard-core programming skills. Good work!

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Light-weight social sharing’ is closed to new replies.