Can you please help me to add a query to the page template to display custom post type posts in a way as normal posts are displayed on the home or category pages.
Something similar to this
$query = new WP_Query( array( ‘post_type’ => ‘books’, ‘paged’ => $paged ) );
but integrated into the envy page template code.
I want to have a separate page where I will show posts with specific post type