Modify the query method when adding category filtering function to the custom post list Modify the query method when adding category filtering function to the custom post list