a guest Jan 18th, 2014 60 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. $connectURL = file_get_contents("".wp_get_shortlink()); ?>
  3. <?php if (function_exists('wp_get_shortlink')) { ?>
  4. <div><span class="post-shortlink">Shortlink:
  5. <input type='text' value='<?php echo $connectURL; ?>' onclick='this.focus();;' />
  6. </span></div>
  7. <?php } ?>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand