New answers tagged

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
0 votes

get_terms custom order

// Define a custom order for category IDs $custom_order = array( 13, // Category ID for 'featured' 51, // Category ID for 'all-resources' 21, // Category ID for 'resource-type' 19, // ...
Krishna Gajera's user avatar

Top 50 recent answers are included