New answers tagged custom-taxonomy
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 ...
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, // ...
Top 50 recent answers are included
Related Tags
custom-taxonomy × 4438custom-post-types × 2124
taxonomy × 659
terms × 619
wp-query × 387
categories × 290
permalinks × 287
url-rewriting × 213
custom-field × 206
php × 196
loop × 193
customization × 137
plugins × 117
rewrite-rules × 114
archives × 112
advanced-taxonomy-queries × 111
tags × 110
templates × 108
posts × 100
query × 97
plugin-development × 94
search × 93
functions × 92
custom-post-type-archives × 90
tax-query × 87