1 vote

WP Query filtering by custom category not showing all relevant posts

@jacob-peattie answered the question in his comment - I used the wrong key to set the number of posts my query generates. Swapping numberposts with posts_per_page solved the issue. Here's the final ...
Jillian Hoenig's user avatar
1 vote
Accepted

Add taxonomy or category slug to custom post types URL

You would do it by assigning the taxonomies when registering the post type: 'taxonomies' => [ 'taxonomy1', 'taxonomy2', ..etc ], https://developer.wordpress.org/reference/functions/...
Tom J Nowell's user avatar
  • 58.2k

Only top scored, non community-wiki answers of a minimum length are eligible