{"id":2423,"date":"2025-07-16T13:38:21","date_gmt":"2025-07-16T13:38:21","guid":{"rendered":"https:\/\/www.8theme.com\/documentation\/?post_type=docs&#038;p=2423"},"modified":"2025-07-16T13:40:56","modified_gmt":"2025-07-16T13:40:56","password":"","slug":"content-display-conditions","status":"publish","type":"docs","link":"https:\/\/www.8theme.com\/documentation\/xstore\/xstore-features\/content-display-conditions\/","title":{"rendered":"Content Display Conditions"},"content":{"rendered":"\n<p>XStore Conditions allow you to display elements to specific visitors while hiding them from others, based on various criteria. For example, you can show a container with content or a specific element only to logged-in users.<br><strong>To apply display conditions:<\/strong><br>&#8211; Select the element you want to apply display conditions to. The element options will appear in the panel.<br>&#8211; In the panel, click the Advanced tab.<br>&#8211; Click <strong>Enable Conditions<\/strong> under XStore Conditions. <\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img fetchpriority=\"high\" decoding=\"async\" width=\"690\" height=\"854\" src=\"https:\/\/www.8theme.com\/documentation\/wp-content\/uploads\/2025\/07\/image-19.png\" alt=\"\" class=\"wp-image-2424\" srcset=\"https:\/\/www.8theme.com\/documentation\/wp-content\/uploads\/2025\/07\/image-19.png 690w, https:\/\/www.8theme.com\/documentation\/wp-content\/uploads\/2025\/07\/image-19-242x300.png 242w, https:\/\/www.8theme.com\/documentation\/wp-content\/uploads\/2025\/07\/image-19-360x446.png 360w\" sizes=\"(max-width: 690px) 100vw, 690px\" \/><\/figure>\n\n\n\n<p><br>The following <strong>settings are available<\/strong>:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Show\/Hide Action<\/strong> \u2013 Choose whether the element should be shown or hidden when the conditions are met.<\/li>\n\n\n\n<li><strong>Conditions By<\/strong> \u2013 Set conditions based on User Role, Login Status, Browser Type, Operating System, Day, Date, Date Range, or Time.<\/li>\n\n\n\n<li><strong>Conditions Type<\/strong> \u2013 Choose whether ALL conditions must be met or if ANY ONE condition is enough to trigger the show\/hide action.<\/li>\n\n\n\n<li><strong>Login Status<\/strong> \u2013 Show or hide elements based on whether the user is logged in or not.<\/li>\n\n\n\n<li><strong>Browser Type<\/strong> \u2013 Target specific browsers.<\/li>\n\n\n\n<li><strong>Operator<\/strong> \u2013 Define whether the visitor\u2019s browser must match (or not match) the selected browser(s) in the list.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>XStore Conditions allow you to display elements to specific visitors while hiding them from others, based on various criteria. For example, you can show a container with content or a specific element only to logged-in users.To apply display conditions:&#8211; Select the element you want to apply display conditions to. The element options will appear in [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"doc_category":[13],"doc_tag":[],"class_list":["post-2423","docs","type-docs","status-publish","hentry","doc_category-xstore-features"],"aioseo_notices":[],"year_month":"2026-04","word_count":178,"total_views":"2398","reactions":{"happy":"1","normal":"0","sad":"0"},"author_info":{"author_nicename":"docs","author_url":"https:\/\/www.8theme.com\/documentation\/author\/docs\/"},"doc_category_info":[{"term_name":"XStore Features","term_url":"https:\/\/www.8theme.com\/documentation\/xstore\/xstore-features\/"}],"doc_tag_info":[],"author_list":[{"ID":"1","user_login":"docs","display_name":"docs","id":"1"}],"knowledge_base_info":[],"knowledge_base_slug":[],"_links":{"self":[{"href":"https:\/\/www.8theme.com\/documentation\/wp-json\/wp\/v2\/docs\/2423","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.8theme.com\/documentation\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/www.8theme.com\/documentation\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/www.8theme.com\/documentation\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.8theme.com\/documentation\/wp-json\/wp\/v2\/comments?post=2423"}],"version-history":[{"count":4,"href":"https:\/\/www.8theme.com\/documentation\/wp-json\/wp\/v2\/docs\/2423\/revisions"}],"predecessor-version":[{"id":2429,"href":"https:\/\/www.8theme.com\/documentation\/wp-json\/wp\/v2\/docs\/2423\/revisions\/2429"}],"wp:attachment":[{"href":"https:\/\/www.8theme.com\/documentation\/wp-json\/wp\/v2\/media?parent=2423"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/www.8theme.com\/documentation\/wp-json\/wp\/v2\/doc_category?post=2423"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/www.8theme.com\/documentation\/wp-json\/wp\/v2\/doc_tag?post=2423"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}