[Plugin: WG bit.ly shortener] Use short urls in theme
-
I really like the execution of the plugin within Admin, however I’m running into an issue.
How do you return the shortened url in the theme. I’ve tried this method:
$shorturl = WGBitlyHelper::get_short_url( $post_id ); return $shorturl;
however, I get “Fatal error: Call to undefined method WGBitlyHelper::get_short_url().”
What am I missing?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘[Plugin: WG bit.ly shortener] Use short urls in theme’ is closed to new replies.