added $post_type.
Merge pull request #3 from mluskind/master

added $post_type.