Last active
August 29, 2015 14:05
-
-
Save ryanhellyer/e2978bb0e36fff1d5fc9 to your computer and use it in GitHub Desktop.
Allow for addition of extra post-types by providing a filter on the get_posts() arguments.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The following code will add support for any custom post-type. This could be modified to allow for an unlimited array of possibilties to filter and limit based on post-types, taxonomies etc.