Advertisements
Tag Archives: WP_Query

Include custom post types in default queries

When working with custom post types you might want to include them in particular result sets such as tag pages or category pages.
All you need to do in order to achieve this is hooking a little function in the parse_query action.

Advertisements
Continue reading