[Plugin: WP Bit.ly] Display actual link
-
I know you can change the default text from “This is the short link” to whatever you want, but I don’t see a way to have it just display the actual link without other text.
The old version in 2.9.2 did this by default, but the new version for 3.0.1 doesn’t.
I basically want to mimic the old output (which you can see in the deprecated.php file):
$text = $wpbitly_link; $wpbitly_print = '<a href="' . $wpbitly_link . '" rel="shortlink" class="wpbitly shortlink">' . $text . '</a>';
The display text ($text) is set to the link itself ($wpbitly_link).
So how do I use the parameters in the_shortlink() to do this?
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘[Plugin: WP Bit.ly] Display actual link’ is closed to new replies.