Exclude by category
-
How do I exclude posts by category in the [wpp] shortcode?
According to the documentation, there’s no reason why this shouldn’t work:
[wpp range="custom" time_quantity="7" freshness="0" order_by="views" taxonomy="category" term_id="-5481" ]Now I’m just trying random stuff to try to find a pattern in the error.
[wpp range="custom" time_quantity="7" time_unit="day" cat="-5481"]
[wpp range="last7days" freshness="0" cat="-5481" ]
[wpp range="last7days" freshness="0" order_by="views" cat="-5481" ]
[wpp range="last7days" freshness="0" order_by="views" taxonomy="category" term_id="-5481" ]And dozens of other variants. Am I missing something obvious?
All sorts of caching is disabled, and clearing wp_popularpoststransients doesn’t help.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Exclude by category’ is closed to new replies.

