fix for wpquery
fixes for jpost
Merge pull request #3 from tybruffy/master

Few Fixes