Plugin Directory

Changeset 546188


Ignore:
Timestamp:
05/19/2012 12:50:31 PM (14 years ago)
Author:
TM3909
Message:

more merge issues

Location:
wpsocialite/trunk
Files:
6 added
1 edited

Legend:

Unmodified
Added
Removed
  • wpsocialite/trunk/README.md

    r546187 r546188  
     1<<<<<<< HEAD
    12# WPSocialite
    23
     
    2728
    2829Don't hesitate to send issues or feature requests, or even improvements. The plugin will go live on the Wordpress Plugin repo shortly.
     30=======
     31# Socialite
     32
     33### Because if you're selling your soul, you may as well do it asynchronously.
     34
     35Socialite provides a very easy way to implement and activate a plethora of social sharing buttons — any time you wish. On document load, on article hover, on any event!
     36
     37[For a demo and documentation visit: **socialitejs.com**](http://www.socialitejs.com/)
     38
     39Author: David Bushell [http://dbushell.com](http://dbushell.com/) [@dbushell](http://twitter.com/dbushell/)
     40
     41Copyright © 2012
     42
     43## Features and Benefits
     44
     45* No more tedious copy/paste!
     46* No dependencies.
     47* Loads external resources only when needed.
     48* Less than 2kb when minified and compressed.
     49* More accessible and styleable defaults/fallbacks.
     50* Built in support for Twitter, Google+, Facebook and LinkedIn.
     51* Easily extendable with other social networks.
     52
     53## Functions
     54
     55    <a href="http://twitter.com/share" class="socialite twitter" data-text="Socialite.js" data-url="http://socialitejs.com" data-count="vertical" data-via="dbushell" rel="nofollow" target="_blank">
     56        Share on Twitter
     57    </a>
     58
     59### Load
     60
     61    Socialite.load();
     62
     63`load` will search the document for elements with the class `socialite` and magically transform them into sharing buttons (based on a network class and data-* attributes).
     64
     65    Socialite.load(context);
     66
     67Be kind! Provide an element to search within using `context` rather than the whole document.
     68
     69### Activate
     70
     71    Socialite.activate(element, 'network');
     72
     73`activate` replaces a single element (or an array of) with the specific social network button. The following are built in by default: `twitter`, `plusone`, `facebook`, `linkedin`.
     74
     75### Extend
     76
     77    Socialite.extend('network', function);
     78
     79With `extend` you can add more social networks! The `function` is called by `Socialite.load` and `Socialite.activate` to replace the default element with the shiny sharing button.
     80>>>>>>> conflictissue
Note: See TracChangeset for help on using the changeset viewer.