Skip to content

Instantly share code, notes, and snippets.

@joshrathke
Last active October 4, 2015 19:26
Show Gist options
  • Save joshrathke/ded3312e7730a2f749f3 to your computer and use it in GitHub Desktop.
Save joshrathke/ded3312e7730a2f749f3 to your computer and use it in GitHub Desktop.
Get Tags Associated with a Custom Taxonomy Term
@joshrathke
Copy link
Author

It's not exactly perfect. The count used to sort the tags is the "global" post count. It would need to be tweaked if you wanted the count of only those posts within the taxonomy term. For our use, this was good enough.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment