ZenphotoCMS 1.6.2

scriptless-socialsharing.php

A Zenphoto plugin that provides scriptless and privacy friendly sharing buttons for:

  • Facebook
  • Twitter
  • Pinterest
  • Linkedin
  • Xing
  • Reddit
  • Stumbleupon
  • Tumblr
  • WhatsApp (iOS only)
  • Digg
  • Livejournal
  • Buffer
  • Delicious
  • Evernote
  • WordPress(.com)
  • Pocket
  • e-mail (static link to open the visitor's mail client)

Note: Since no scripts are involved no share counts!

To have it work correctly you should also enable the html_meta_tags plugin and check the Open Graph (og:) meta data elements in the plugin's options.

The plugin loads default CSS styling using an icon font. If you wish to use theme based custom icons and CSS to avoid extra loading you can disable it.

Icon font created using the icomoon app: http://icomoon.io/#icons-icomoon Fonts used:

  • Brankic 1979 (buffer/stack icon) http://brankic1979.com/icons/ (free for personal and commercial use)
  • Entypo+ (evernote icon) http://www.entypo.com – CC BY-SA 4.0
  • fontawesome (all other icons) http://fontawesome.io – SIL OFL 1.1

Usage: Place on your theme files where you wish the buttons to appear.

Tags
author

Malte Müller (acrylian)

copyright

2018 Malte Müller

license

GPL v3 or later

Table of Contents

Classes

scriptlessSocialsharingOptions
scriptlessSocialsharing
Static class wrapper

        
On this page

Search results