WordPress.org

Ready to get started?Download WordPress

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");

Requires: 3.0 or higher
Compatible up to: 3.8.3
Last Updated: 2014-2-20
Downloads: 1,718

Ratings

5 stars
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