updated WP query params

added the "published" argument