Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

Returning posts not matching a category?

$
0
0

Replies: 0

How do I return posts that have a category that is not set? The following successfully returns posts which have the category “book-review” set:

[loop type=article count=100 field=number value='{FIELD}' category=book-review orderby=id order=ASC]

But wow do I return posts that do not have the category “book-review” set (unchecked). I’ve tried adding empty=true/false.

Otherwise it seems that I have to filter using [if][else] ?


Viewing all articles
Browse latest Browse all 59525

Trending Articles