Post_type doesn’t work for widgets?
It sounds like your widget references the global $loop for some reason. This could possibly be due to the internals of the Widget class or due to interference of other plugins, i guess. As a first step, to be on the safe side, try using a different variable name. The global loop is referred to … Read more