I'm in the process of developing my own theme, but I have run into some problems. I'm trying to display both blog posts and WooCommerce products on the same page - not only on the same page, but in my Bootstrap and Masonry grid.
You can see the page here, where it only shows the WooCommerce products: link
You can see there code here: link
Does any of you know a way to do this?
You can use the
pre_get_posts
filter to modify the query and return multiple post types in the loop.Untested.