Skip to content

Instantly share code, notes, and snippets.

@msaari
Created March 9, 2017 09:55
Show Gist options
  • Save msaari/9b5714b4bd25f504593da029f9bc66a6 to your computer and use it in GitHub Desktop.
Save msaari/9b5714b4bd25f504593da029f9bc66a6 to your computer and use it in GitHub Desktop.
the_permalink() replacement that uses attachment image URL instead of attachment page URL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment