The goal is to have something like this below in WordPress:
Three pages :
Three Post Types
Each Post Types have multiple posts
Guardians of the Galaxy
Now, there is a single Template to display all of these called – list_elements.php
Template Name: list_elements
How can I use only list_elements template to display the Post Types cars_posts, movies_posts, fruits_posts on pages Cars, Movies and Fruits respectively?
Any approach to achieve this would be appreciated. Thanks in advance!