I stack since a few hours now and I'm sure that this is not so complicated. I would like to get all custom post types into this
$posts = query_posts( $query_string.'post_type=POST-TYPE1,POST-TYPE2,POST-TYPE3&post_status=publish&posts_per_page=-1&' );
I know that there is this function: $post_types=get_post_types('','names');
And I have some Post Types which I want to exclude. E.g. "Portfolio".
So how is it possible to get the $posts looking for all important Types?!
Thanks a lot !!
Philipp