Support for custom post types.
Merge pull request #2 from patrick91/custom_post_type

Support for custom post types.