Use another hook so support for post formats can work fine.
Fixes #1.
Merge pull request #16 from andrezrv/Issue_#1

Merge pull request #16 from andrezrv/Issue_#1