Ive been asked if this is possible hoping someone can help. I currently have multiple custom post types organised by category.
My current set up is category-name > archive-name > custom post-type (assigned by category).
Is it possible to use a page.php template instead of an archive.php template to display custom posts?
How would the custom post be assigned to the the correct page template in the hierachy if not by category (not available for pages of course?)
Like this:
page-name > custom post-type (assigned by page-name?).
EDIT:
Looks like a solution can anyone confirm?
$args = array( 'post_type' => 'product', 'posts_per_page' => 10 );
$loop = new WP_Query( $args );
while ( $loop->have_posts() ) : $loop->the_post();
the_title();
echo '<div class="entry-content">';
the_content();
echo '</div>';
endwhile;
Thanks.