I have two custom post types. One is called "Tours" and another one is called "Hotels". I wrote a custom widget to list all posts with post type "Tours" in my sidebar, so I do:
$list_tours = new WP_Query('post_type=Tours');
It works well. It returns the list of posts. However, if I'm on one of the single post from post type "Hotels" I cannot get a list of posts from "Tours" in my widget. It's empty. I see the list on all categories, on single generic posts or pages, but only not under single post of other custom post type.
Sorry, it's difficult to explain. Any idea?