custom query shortcode for wordpress (php v4.0.5+)