• Resolved jheartland

    (@jheartland)


    Currently, when multiple categories are selected the Ad shows up if a post is in ANY of the categories selected. Is it possible to change the OR condition to an AND condition so that the Ad only shows up if the Post meets the criteria of having all selected categories?

Viewing 1 replies (of 1 total)
  • Plugin Author Spacetime

    (@spacetime)

    With a single list teh answer is no.

    If you whitelist items on the list, at least one of the items on the list must be present to enable insertion (item1 OR item2 OR item3…).

    If you blacklist items on the list, at least one of the items on the list must be present to disable insertion (item1 OR item2 OR item3…) i.e. no item on the list should be present to enable insertion.

    https://adinserter.pro/documentation/black-and-white-lists

    If there are only two wanted categories then you can use Taxonomies list to whitelist the second category: category:category-slug

    All lists must pass the check for insertion (list1 AND list2 AND list3…).

    For more complex conditions you can use PHP code and define custom conditions.

Viewing 1 replies (of 1 total)

The topic ‘Category Conditions’ is closed to new replies.