I am learning Wordpress and modifying the Themeatic framework, but I am learning as I go.
I have a custom post type called 'wheels'.
I took the page.php file, and renamed it wheels_page.php
I added the page template header.
Now I only want it to display posts only for the post type "wheels".
I added this line to the new page template (I put it just under the "container"):
<div id="container">
<?php query_posts(array('post_type'=>'wheels')); ?>
<?php thematic_abovecontent(); ?>
<div id="content">
I then created a page called "Wheels" and used wheels_page as the template.
The PROBLEM is that when I open the page, it only shows one post, even though there are 6 post in "wheels".
Clearly I am not in the loop, but I have no idea where to find it, let alone how to make it a working page template.
Can someone help me?