Skip to content

Instantly share code, notes, and snippets.

@sjaved87
Created November 26, 2016 08:30
Show Gist options
  • Save sjaved87/7f72933b91fabd3a4a09d420c864b474 to your computer and use it in GitHub Desktop.
Save sjaved87/7f72933b91fabd3a4a09d420c864b474 to your computer and use it in GitHub Desktop.
WordPress - Get current page URL on any page, post, home or any archive page (category, author, custom post type).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment