Skip to content

Instantly share code, notes, and snippets.

@fitodac
Created June 2, 2016 23:11
Show Gist options
  • Save fitodac/c2c14b107f10d151ad16d675ff29942b to your computer and use it in GitHub Desktop.
Save fitodac/c2c14b107f10d151ad16d675ff29942b to your computer and use it in GitHub Desktop.
Wordpress Shorcodes
function shortURL() {
return 'https://fitodac.com/';
}
add_shortcode('myurl', 'shortURL');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment