Add Pages/CPTs to WordPress Query

I’d like to display pages and custom post in the front page. Currently, only blog posts are included. Could someone explain me how to change the original loop?—Tatziki, Studio Press Forum

You need something like the following in your functions.php file. Change portfolio and product in the code, to your CPTs.

https://gist.github.com/vfontjr/da259089f81114f36e6844c73d6f2787#file-vmf_query_filter-php