Home Forums General Issues Cant query by custom field Reply To: Cant query by custom field

  • Looking at what I can see of your code I don’t see anything that wrong. This is not a valid WP_Query argument 'numberposts' => 1, that I can find, but it should not effect the query since it should be ignored. This should probably be 'posts_per_page' => 1,

    If you re-post your code and use code tags around id so the the forum does not trash it I may be able to see more that might cause a problem.