WordPress.org

Plugin Directory

WPU ShortLinks

Allows automatic url shortening of post links using wpu.ir Services using the API recently provided by WP-Parsi.

Shortcode (use in post editor):

[wpu]Post ShortLink[/wpu]

Specific Post

[wpu id=74]Wordpress for life :)[/wpu]

Function:

wpu_ShortLink(post_id,display)

Use in post loop:

<a href="<?php wpu_ShortLink() ?>">ShortLink</a>

Specific Post:

<a href="<?php wpu_ShortLink(74) ?>">ShortLink</a>

Request custom URI:

$ShortLink = wpu_get_ShortLink("http://www.google.com");

Social Sharing

$args = array(
    'element' => 'div',
    'social_options' => 'twitter, facebook, googleplus',
    'twitter_username' => 'yourTwitterUsername',
    'before_text' => 'Share this post:',
    'twitter_text' => 'Twitter',
    'facebook_text' => 'Facebook',
    'googleplus_text' => 'Google+'
);
wpu_social_sharing($echo=true,$args)

Requires: 3.0 or higher
Compatible up to: 4.0.5
Last Updated: 2015-5-6
Active Installs: 60+

Ratings

5 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1 100,1,1
100,1,1
100,1,1