Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function ozh2010_display_shorturl( $in ){
- if( function_exists( 'wp_ozh_yourls_raw_url' ) ) {
- $short = wp_ozh_yourls_raw_url();
- $in .= "<div class='entry-utility'>Short URL to this post: <a href='$short'>$short</a></div>";
- }
- return $in;
- }
- add_filter( 'the_content', 'ozh2010_display_shorturl' );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement