Free Directory, Listing & Classifieds WordPress Plugin › Support › Themes › ListingHive › Wp_query
Hello, how should I do the query in Wp_query so that I can filter items by category?
Please check the tax_query section https://developer.wordpress.org/reference/classes/wp_query/#taxonomy-parameters Listing category is a “hp_listing_category” taxonomy, while listing is “hp_listing” post type.
You must be logged in to reply to this topic.
Don't have an account? Register
Already have an account? Sign In
Please enter your username or email address, you will receive a link to create a new password via email.