I want to get only 4 custom post type on homepage

Hey,

I’m new on frontity, just joined the community and making custom theme in it.

I need to get 4 custom post types on the homepage. I’m also fetching all custom post type on detail page.

Hey @muzzamilijaz . Welcome the the community.
I am not sure exactly what your question is but I would recommend that you look at the following resources:

If you have some specific questions, just post them here and I will answer them when I have the time.