I have a large site with 8 different custom post types, but some of them (by design) fall into the same category. I would like to be able to display more than one post type in each widget.
Example:
Resources (parent)
Resources by Perspective + (child; post type X)
Resources Blog + (child; post type Y)
Pregnancy Blog + (child; post type Z)
I would like to display all three of the children AND their associated posts (three different custom post types). Right now, I can display the children, but I can only display the posts from one custom post type. Is this possible to change?
OnPoint Plugins
Hi Miranda,
You may include multiple post types by adding the following filter to your active theme’s functions.php file:
You will need to change the list of post type slugs to match the ones you are using on your site. In this example I simply added:
Have a great day!