{"id":18948821,"date":"2026-06-26T10:02:26","date_gmt":"2026-06-26T10:02:26","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/display-rule-change\/"},"modified":"2026-06-26T10:02:26","modified_gmt":"2026-06-26T10:02:26","slug":"display-rule-change","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/display-rule-change\/","title":{"rendered":"Display rule change"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">I have a product &#8220;Safety shoes&#8221;. This product is linked to categories &#8220;Safety equipment&#8221; and &#8220;Footwear&#8221;. <br \/>In the settings I have hidden the category &#8220;Footwear&#8221; for the user role &#8220;Securiton&#8221;. <br \/>This makes the product invisible for &#8220;Securiton&#8221; users when they go to the category &#8220;Safety equipment&#8221; as it is also in the hidden category &#8220;Footwear&#8221;. <br \/><br \/>I see that the default rule is:<br \/>&lt;small&gt;Visibility rule&lt;\/small&gt;<br \/>Deny wins: at least one hidden category means the product is hidden.<br \/><br \/>Is it possible to change this so that it will be visible for the &#8220;Securiton&#8221; users when they are looking in &#8220;Safety equipment&#8221; but not in &#8220;Footwear&#8221;? <\/p>\n","protected":false},"template":"","class_list":["post-18948821","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/18948821","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/18948821\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=18948821"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}