WordPress: How to display multiple post types in the same loop

The following code will help you to merge multiple post types in the same loop.

You can add it to the theme function.php or create a simple plugin to do this, as you can prefer.

And, if you’ve apreciated this tip, don’t forgot that I like to drink a coffe something :-)

%d blogger hanno fatto clic su Mi Piace per questo: