Skip to content

Instantly share code, notes, and snippets.

@banderon
Last active December 15, 2015 06:08
Show Gist options
  • Save banderon/5213701 to your computer and use it in GitHub Desktop.
Save banderon/5213701 to your computer and use it in GitHub Desktop.
functions.php
===============
function get_the_permalink(){
global $post;
return get_permalink( $post->ID );
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment