I have two different post types one is books and the other is supports. I am trying to call this two post in one page.
How can I do that? Here is the code I am using to query a post:
<?php query_posts('post_type=books&post_status=publish&posts_per_page=-1&paged='.
get_query_var('paged')); ?>