{"id":11490,"date":"2022-12-22T17:10:07","date_gmt":"2022-12-23T00:10:07","guid":{"rendered":"https:\/\/www.elegantthemes.com\/documentation\/?p=11490"},"modified":"2023-02-03T15:50:50","modified_gmt":"2023-02-03T22:50:50","slug":"divi-condition-options","status":"publish","type":"post","link":"https:\/\/www.elegantthemes.com\/documentation\/divi\/divi-condition-options\/","title":{"rendered":"Using The Divi Condition Options"},"content":{"rendered":"<p>The Divi Condition Options allow you to apply advanced logic to any section, row, or module to hide or display elements based on a set of conditions. You can define a set of conditions such as user role, date and time, browser, device, post information, website location, and more.<\/p>\n<p>For example, you can choose to display specific content based on date and time. Or you can choose to display unique content to users when they log in and show unique elements to specific users based on their user role.<\/p>\n<p>This is a powerful feature within Divi, so in this document, we&#8217;ll go over how to access the Divi Condition Options, how to use them, best tips and practices, and more.<\/p>\n<p>Let&#8217;s dive in!<\/p>\n<h2>How To Access Condition Options<\/h2>\n<p>Condition options are available in all of Divi&#8217;s sections, rows, and modules. Simply hover over the element you&#8217;re working on, click the gear icon to bring up the settings, and then navigate to\u00a0<strong>Advanced &gt; Conditions<\/strong>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-11498\" src=\"https:\/\/www.elegantthemes.com\/documentation\/wp-content\/uploads\/2022\/08\/2-conditionoptions.png\" alt=\"\" width=\"1800\" height=\"1142\" srcset=\"https:\/\/www.elegantthemes.com\/documentation\/wp-content\/uploads\/2022\/08\/2-conditionoptions.png 1800w, https:\/\/www.elegantthemes.com\/documentation\/wp-content\/uploads\/2022\/08\/2-conditionoptions-300x190.png 300w, https:\/\/www.elegantthemes.com\/documentation\/wp-content\/uploads\/2022\/08\/2-conditionoptions-1024x650.png 1024w, https:\/\/www.elegantthemes.com\/documentation\/wp-content\/uploads\/2022\/08\/2-conditionoptions-768x487.png 768w, https:\/\/www.elegantthemes.com\/documentation\/wp-content\/uploads\/2022\/08\/2-conditionoptions-1536x975.png 1536w\" sizes=\"auto, (max-width: 1800px) 100vw, 1800px\" \/><\/p>\n<h3>Add a Condition<\/h3>\n<p>To add a condition, click the grey + icon that says &#8220;Add Condition&#8221;. This will bring up all of the condition options that you can apply.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-12815\" src=\"https:\/\/www.elegantthemes.com\/documentation\/wp-content\/uploads\/2022\/09\/add-a-condtion.png\" alt=\"Adding Divi Condition Options\" width=\"1800\" height=\"1369\" srcset=\"https:\/\/www.elegantthemes.com\/documentation\/wp-content\/uploads\/2022\/09\/add-a-condtion.png 1800w, https:\/\/www.elegantthemes.com\/documentation\/wp-content\/uploads\/2022\/09\/add-a-condtion-300x228.png 300w, https:\/\/www.elegantthemes.com\/documentation\/wp-content\/uploads\/2022\/09\/add-a-condtion-1024x779.png 1024w, https:\/\/www.elegantthemes.com\/documentation\/wp-content\/uploads\/2022\/09\/add-a-condtion-768x584.png 768w, https:\/\/www.elegantthemes.com\/documentation\/wp-content\/uploads\/2022\/09\/add-a-condtion-1536x1168.png 1536w\" sizes=\"auto, (max-width: 1800px) 100vw, 1800px\" \/><\/p>\n<h3>Showing or Hiding Elements<\/h3>\n<p>To show or hide an element, you&#8217;ll need to add a condition that will control an element&#8217;s visibility. When conditions are\u00a0<em>met<\/em> the element will be visible. When conditions\u00a0<em>are not met<\/em> the element will be hidden. For example, below a member&#8217;s only discount banner will display only if the user is logged into the website.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-12816\" src=\"https:\/\/www.elegantthemes.com\/documentation\/wp-content\/uploads\/2022\/09\/logged-in-status.png\" alt=\"Showing or Hiding Using Divi Condition Options\" width=\"1800\" height=\"808\" srcset=\"https:\/\/www.elegantthemes.com\/documentation\/wp-content\/uploads\/2022\/09\/logged-in-status.png 1800w, https:\/\/www.elegantthemes.com\/documentation\/wp-content\/uploads\/2022\/09\/logged-in-status-300x135.png 300w, https:\/\/www.elegantthemes.com\/documentation\/wp-content\/uploads\/2022\/09\/logged-in-status-1024x460.png 1024w, https:\/\/www.elegantthemes.com\/documentation\/wp-content\/uploads\/2022\/09\/logged-in-status-768x345.png 768w, https:\/\/www.elegantthemes.com\/documentation\/wp-content\/uploads\/2022\/09\/logged-in-status-1536x689.png 1536w\" sizes=\"auto, (max-width: 1800px) 100vw, 1800px\" \/><\/p>\n<h3>Setting Multiple Conditions<\/h3>\n<p>Within the Divi Condition Options, you&#8217;re able to apply multiple conditions to create advanced rules for an element&#8217;s visibility. You can choose to display or hide an element based on whether <em>all<\/em> or\u00a0<em>one<\/em> of the conditions are met.<\/p>\n<p>For example, you can choose to show a discount code banner IF that user is logged in, has purchased a product before, and is using a browser. You can make <em>all<\/em> of these three conditions required to be met, or just one condition to be met, in order for the banner to be visible.<\/p>\n<p><video class=\"with-border\" autoplay=\"autoplay\" loop=\"loop\" muted=\"\" width=\"100%\" height=\"150\"><source src=\"https:\/\/www.elegantthemes.com\/documentation\/wp-content\/uploads\/2022\/12\/4-conditionoptions_1.webm\" type=\"video\/webm\" \/><source src=\"https:\/\/www.elegantthemes.com\/documentation\/wp-content\/uploads\/2022\/08\/4-conditionoptions.mp4\" type=\"video\/mp4\" \/><\/video><\/p>\n<h2>Use Case Examples of Condition Options<\/h2>\n<p>Let&#8217;s take a look at some real-life use examples for condition options.<\/p>\n<h3>Create Personalized Experiences<\/h3>\n<p>The Divi Condition Options gives you the power to tailor personalized user experiences for every visitor that comes to your website. Tailoring your content based on a set of conditions can help increase conversions and deliver a unique online experience that will impress your customers and boost your brand.<\/p>\n<p><strong>Learn More<\/strong>: <a href=\"https:\/\/www.elegantthemes.com\/blog\/wordpress\/ecommerce-personalization-ideas-for-woocommerce\">5 eCommerce Personalization Ideas for WooCommerce<\/a><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-12818\" src=\"https:\/\/www.elegantthemes.com\/documentation\/wp-content\/uploads\/2022\/09\/personal-options.png\" alt=\"\" width=\"1800\" height=\"1236\" srcset=\"https:\/\/www.elegantthemes.com\/documentation\/wp-content\/uploads\/2022\/09\/personal-options.png 1800w, https:\/\/www.elegantthemes.com\/documentation\/wp-content\/uploads\/2022\/09\/personal-options-300x206.png 300w, https:\/\/www.elegantthemes.com\/documentation\/wp-content\/uploads\/2022\/09\/personal-options-1024x703.png 1024w, https:\/\/www.elegantthemes.com\/documentation\/wp-content\/uploads\/2022\/09\/personal-options-768x527.png 768w, https:\/\/www.elegantthemes.com\/documentation\/wp-content\/uploads\/2022\/09\/personal-options-1536x1055.png 1536w\" sizes=\"auto, (max-width: 1800px) 100vw, 1800px\" \/><\/p>\n<h3>Show or Hide Content Based on User&#8217;s Logged-In Status<\/h3>\n<p>Divi&#8217;s Conditions Options come in handy when you&#8217;re creating a members only area or using marketing techniques like gated content or downloads. Using Condition Options you can choose to display certain content to certain users based on whether they are logged in, logged out, or what user role they have.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-12820\" src=\"https:\/\/www.elegantthemes.com\/documentation\/wp-content\/uploads\/2022\/09\/logged-status-01.png\" alt=\"\" width=\"1800\" height=\"771\" srcset=\"https:\/\/www.elegantthemes.com\/documentation\/wp-content\/uploads\/2022\/09\/logged-status-01.png 1800w, https:\/\/www.elegantthemes.com\/documentation\/wp-content\/uploads\/2022\/09\/logged-status-01-300x129.png 300w, https:\/\/www.elegantthemes.com\/documentation\/wp-content\/uploads\/2022\/09\/logged-status-01-1024x439.png 1024w, https:\/\/www.elegantthemes.com\/documentation\/wp-content\/uploads\/2022\/09\/logged-status-01-768x329.png 768w, https:\/\/www.elegantthemes.com\/documentation\/wp-content\/uploads\/2022\/09\/logged-status-01-1536x658.png 1536w\" sizes=\"auto, (max-width: 1800px) 100vw, 1800px\" \/><\/p>\n<p><strong>Learn More<\/strong>:<\/p>\n<ul>\n<li><a href=\"https:\/\/www.elegantthemes.com\/blog\/divi-resources\/how-to-show-hide-a-video-slider-based-on-logged-in-status-with-divi\">How to Show\/Hide a Video Slider Based on Logged In Status with Divi<\/a><\/li>\n<li><a href=\"https:\/\/www.elegantthemes.com\/blog\/divi-resources\/how-to-create-member-exclusive-blog-posts-with-divis-condition-options\">How to Create Member-Exclusive Blog Posts with Divi\u2019s Condition Options<\/a><\/li>\n<li><a href=\"https:\/\/www.elegantthemes.com\/blog\/divi-resources\/how-to-display-a-login-form-for-non-logged-in-users-only\">How to Display a Login Form for Non-Logged In Users Only<\/a><\/li>\n<\/ul>\n<h3>Create Intelligent Shopping Experiences to Capture Sales<\/h3>\n<p>Learning how to retarget customers is a game-changing marketing technique that allows you to incentivize customers to buy items they&#8217;ve viewed before and added to their cart, but then abandoned after leaving your website without purchasing. This retargeting technique can help you close more sales, boost profits, and engage more customers.<\/p>\n<p>One effective way to retarget customers is to offer return customers a discount or promo code on the items they added to their cart previously. However, the important part is to offer these discounts\u00a0<em>only\u00a0<\/em>to users who have abandoned their carts. Using the Divi Condition Options allows you to show or hide content based on a user&#8217;s WooCommerce cart content and page visits. This conditions combination makes it possible to retarget those users who have abandoned their carts with a discount or promo pop-up. To learn how to do this, <a href=\"https:\/\/www.elegantthemes.com\/blog\/divi-resources\/how-to-retarget-abandoned-carts-with-a-promo-popup-using-divis-condition-options\">check out this article<\/a>.<\/p>\n<p><video class=\"with-border\" autoplay=\"autoplay\" loop=\"loop\" muted=\"\" width=\"100%\" height=\"150\"><source src=\"https:\/\/www.elegantthemes.com\/documentation\/wp-content\/uploads\/2022\/12\/vid1_1.webm\" type=\"video\/webm\" \/><span data-mce-type=\"bookmark\" style=\"display: inline-block; width: 0px; overflow: hidden; line-height: 0;\" class=\"mce_SELRES_start\">\ufeff<\/span><source src=\"https:\/\/www.elegantthemes.com\/documentation\/wp-content\/uploads\/2022\/12\/vid1.mp4\" type=\"video\/mp4\" \/><span data-mce-type=\"bookmark\" style=\"display: inline-block; width: 0px; overflow: hidden; line-height: 0;\" class=\"mce_SELRES_end\">\ufeff<\/span><\/video><\/p>\n<p><strong>Learn More<\/strong>:<\/p>\n<ul>\n<li><a href=\"https:\/\/www.elegantthemes.com\/blog\/wordpress\/ecommerce-personalization-ideas-for-woocommerce\">5 eCommerce Personalization Ideas for WooCommerce<\/a><\/li>\n<li><a href=\"https:\/\/www.elegantthemes.com\/blog\/divi-resources\/how-to-create-a-recurring-promotional-banner-with-divi\">How to Create a Recurring Promotional Banner with Divi<\/a><\/li>\n<li><a href=\"https:\/\/www.elegantthemes.com\/blog\/divi-resources\/how-to-add-a-woo-notice-module-to-your-divi-product-page-template\">How to Add a Woo Notice Module to Your Divi Product Page Template<\/a><\/li>\n<\/ul>\n<h3>Show Custom Designs for Certain Devices or Browsers<\/h3>\n<p>In web design, not all browsers and devices are created equal. Content can render differently across each viewport. You can use the Divi Condition Options to display different designs based on the browser and the operating system your visitors is using.<\/p>\n<p><strong>Learn More<\/strong>: <a href=\"https:\/\/www.elegantthemes.com\/blog\/divi-resources\/how-to-display-download-buttons-for-respective-operating-systems-in-divi\">How to Display Download Buttons for Respective Operating Systems in Divi<\/a><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full\" src=\"https:\/\/www.elegantthemes.com\/blog\/wp-content\/uploads\/2021\/10\/buttons-preview.jpg\" width=\"880\" height=\"859\" \/><\/p>\n<h3>Automatically Reveal Certain Content on a Specific Date &amp; Time<\/h3>\n<p>Another great use for the Divi Condition Options is to automatically reveal content at a specific date and time. This is useful for website launch countdowns, eCommerce sales, webinar launches, and more!<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-12822\" src=\"https:\/\/www.elegantthemes.com\/documentation\/wp-content\/uploads\/2022\/09\/countdown-example-01.png\" alt=\"\" width=\"1800\" height=\"771\" srcset=\"https:\/\/www.elegantthemes.com\/documentation\/wp-content\/uploads\/2022\/09\/countdown-example-01.png 1800w, https:\/\/www.elegantthemes.com\/documentation\/wp-content\/uploads\/2022\/09\/countdown-example-01-300x129.png 300w, https:\/\/www.elegantthemes.com\/documentation\/wp-content\/uploads\/2022\/09\/countdown-example-01-1024x439.png 1024w, https:\/\/www.elegantthemes.com\/documentation\/wp-content\/uploads\/2022\/09\/countdown-example-01-768x329.png 768w, https:\/\/www.elegantthemes.com\/documentation\/wp-content\/uploads\/2022\/09\/countdown-example-01-1536x658.png 1536w\" sizes=\"auto, (max-width: 1800px) 100vw, 1800px\" \/><\/p>\n<p><strong>Learn More:<\/strong><\/p>\n<ul>\n<li><a href=\"https:\/\/www.elegantthemes.com\/blog\/divi-resources\/how-to-reveal-a-sales-banner-at-midnight-precisely-with-divis-condition-options\">How to Reveal a Sales Banner at Midnight Precisely with Divi\u2019s Condition Options<\/a><\/li>\n<li><a href=\"https:\/\/www.elegantthemes.com\/blog\/divi-resources\/how-to-display-time-conditional-content-when-a-countdown-timer-expires-in-divi\">How to Display Time Conditional Content when a Countdown Timer Expires in Divi<\/a><\/li>\n<\/ul>\n<h2>All Condition Options Explained<\/h2>\n<p>In this section, let&#8217;s explore all the condition options available and what they do.<\/p>\n<h4>Post Information<\/h4>\n<p>Post Information conditions allow you to display elements based on the post\u2019s meta information, such as it\u2019s category, tag, author and type. These conditions can be combined with Theme Builder template assignments, giving you two layers of conditions and the ability to create more dynamic layouts.<\/p>\n<ul>\n<li><strong>Post Type<\/strong>\u00a0\u2013 Hide or display elements on posts of a specific type.<\/li>\n<li><strong>Post Category<\/strong>\u00a0\u2013 Hide or display elements on posts within specific categories.<\/li>\n<li><strong>Post Tag<\/strong>\u00a0\u2013 Hide or display elements on posts with specific tags.<\/li>\n<li><strong>Author<\/strong>\u00a0\u2013 Hide or display elements on posts written by specific authors.<\/li>\n<\/ul>\n<p><video class=\"with-border\" autoplay=\"autoplay\" loop=\"loop\" muted=\"\" width=\"100%\" height=\"150\"><source src=\"https:\/\/www.elegantthemes.com\/documentation\/wp-content\/uploads\/2022\/12\/5-conditionoptions_1.webm\" type=\"video\/webm\" \/><source src=\"https:\/\/www.elegantthemes.com\/documentation\/wp-content\/uploads\/2022\/08\/5-conditionoptions.mp4\" type=\"video\/mp4\" \/><\/video><\/p>\n<h4>Location<\/h4>\n<p>Location conditions allow you to display elements based on where the page exists on your website. These conditions can be combined with Theme Builder template assignments, giving you two layers of conditions and the ability to create more dynamic layouts.<\/p>\n<ul>\n<li><strong>Tag Page<\/strong>\u00a0\u2013 Hide or display elements on specific tag pages.<\/li>\n<li><strong>Category Page<\/strong>\u00a0\u2013 Hide or display elements on specific category pages.<\/li>\n<li><strong>Date Archive<\/strong>\u00a0\u2013 Hide or display elements on specific date archives pages.<\/li>\n<li><strong>Search Results<\/strong>\u00a0\u2013 Hide or display elements on search result pages based on the terms being searched by the visitor.<\/li>\n<li><strong>Post Types<\/strong>\u00a0\u2013 Hide or display elements on specific post types.<\/li>\n<li><strong>Posts\/Pages<\/strong>\u00a0\u2013 Hide or display elements on specific posts or pages that you select from a list.<\/li>\n<\/ul>\n<p><video class=\"with-border\" autoplay=\"autoplay\" loop=\"loop\" muted=\"\" width=\"100%\" height=\"150\"><source src=\"https:\/\/www.elegantthemes.com\/documentation\/wp-content\/uploads\/2022\/12\/6-conditionoptions_1.webm\" type=\"video\/webm\" \/><source src=\"https:\/\/www.elegantthemes.com\/documentation\/wp-content\/uploads\/2022\/08\/6-conditionoptions.mp4\" type=\"video\/mp4\" \/><\/video><\/p>\n<h4>User Status<\/h4>\n<p>Uses status conditions allow you to tailor your website to your visitors based on whether or not they are logged on, and the WordPress user role assigned to their account.<\/p>\n<ul>\n<li><strong>Logged In Status<\/strong> \u2013 Hide or display elements based on whether or not the current visitor is logged in or logged out.<\/li>\n<li><strong>User Role<\/strong>\u00a0\u2013 Hide or display elements based on a user\u2019s role. For example, display paid content to specific customers or private content to certain subscribers.<\/li>\n<\/ul>\n<p><video class=\"with-border\" autoplay=\"autoplay\" loop=\"loop\" muted=\"\" width=\"100%\" height=\"150\"><source src=\"https:\/\/www.elegantthemes.com\/documentation\/wp-content\/uploads\/2022\/12\/7-conditionoptions_1.webm\" type=\"video\/webm\" \/><source src=\"https:\/\/www.elegantthemes.com\/documentation\/wp-content\/uploads\/2022\/08\/7-conditionoptions.mp4\" type=\"video\/mp4\" \/><\/video><\/p>\n<h4>Interaction<\/h4>\n<p>Interaction conditions allow you to tailor content to your visitors based on how or when they interact with your website.<\/p>\n<ul>\n<li><strong>Date &amp; Time<\/strong>\u00a0\u2013 Hide or display elements based on date and time. Creating recurring schedules or display content for a finite block of time. For example, display event information for an upcoming event, or display a promotional banner only when a sale is active.\n<p><video class=\"with-border\" autoplay=\"autoplay\" loop=\"loop\" muted=\"\" width=\"100%\" height=\"150\"><source src=\"https:\/\/www.elegantthemes.com\/documentation\/wp-content\/uploads\/2022\/12\/8-conditionoptions.webm\" type=\"video\/webm\" \/><source src=\"https:\/\/www.elegantthemes.com\/documentation\/wp-content\/uploads\/2022\/12\/8-conditionoptions.mp4\" type=\"video\/mp4\" \/><\/video><\/p>\n<\/li>\n<li><strong>Page\/Post Visit<\/strong> \u2013 Hide and display elements to users who have or have not visited specific pages on your website. Retarget visitors on your own website with unique content based on the way they interact with your website.\n<\/li>\n<li><strong>Product Purchase<\/strong>\u00a0\u2013 Hide or display elements to users who have or have not purchased specific products from your WooCommerce store.\n<p><video class=\"with-border\" autoplay=\"autoplay\" loop=\"loop\" muted=\"\" width=\"100%\" height=\"150\"><source src=\"https:\/\/www.elegantthemes.com\/documentation\/wp-content\/uploads\/2022\/12\/page-post.webm\" type=\"video\/webm\" \/><source src=\"https:\/\/www.elegantthemes.com\/documentation\/wp-content\/uploads\/2022\/12\/page-post.mp4\" type=\"video\/mp4\" \/><\/video><\/p>\n<\/li>\n<li><strong>Cart Contents<\/strong>\u00a0\u2013 Hide or display elements based on whether or not a user has items in their WooCommerce cart. Target all products or specific products in your store.<\/li>\n<li><strong>Number Of Views<\/strong>\u00a0\u2013 Hide or display an element based on how many times it has been viewed by a visitor. Create limited-time content that expires after a certain amount of time, based on visitor engagement.\n<p><video class=\"with-border\" autoplay=\"autoplay\" loop=\"loop\" muted=\"\" width=\"100%\" height=\"150\"><source src=\"https:\/\/www.elegantthemes.com\/documentation\/wp-content\/uploads\/2022\/12\/number-of-view.webm\" type=\"video\/webm\" \/><source src=\"https:\/\/www.elegantthemes.com\/documentation\/wp-content\/uploads\/2022\/12\/number-of-view.mp4\" type=\"video\/mp4\" \/><\/video><\/li>\n<\/ul>\n<h4>Device<\/h4>\n<p>Device conditions allow you to tailor your website to our visitors based on the software they are using to browse your website.<\/p>\n<ul>\n<li><strong>Browser<\/strong>\u00a0\u2013 Hide or display elements to users based on the type of browser they are using. Tailor your design to a specific browser to handle the unique ways certain browsers deal with CSS or offer content that is specific to certain browsers (like browser extensions).<\/li>\n<li><strong>Operating System<\/strong>\u00a0\u2013 Hide or display elements to users based on which operating system they are using. For example, you could create download links to your software that provides the user with the correct installation file.<\/li>\n<li><strong>Cookie<\/strong>\u00a0\u2013 Hide or display elements based on the existence or the values of certain cookies stored in the visitor\u2019s browser. This gives you lots of freedom to customize pages for specific users based on how they have interacted with your website and its plugins.<\/li>\n<\/ul>\n<p><video class=\"with-border\" autoplay=\"autoplay\" loop=\"loop\" muted=\"\" width=\"100%\" height=\"150\"><source src=\"https:\/\/www.elegantthemes.com\/documentation\/wp-content\/uploads\/2022\/12\/9-conditionoptions_1.webm\" type=\"video\/webm\" \/><source src=\"https:\/\/www.elegantthemes.com\/documentation\/wp-content\/uploads\/2022\/08\/9-conditionoptions.mp4\" type=\"video\/mp4\" \/><\/video><\/p>\n<h2>Tips &#038; Best Practices For Using the Divi Conditions Options<\/h2>\n<p>When using the Divi Condition Options, keep the following tips in mind.<\/p>\n<h3>Map Out Content Behaviors<\/h3>\n<p>When you&#8217;re creating complex content behavior based on multiple condition options, it&#8217;s important to keep a clear picture of the rules you are applying and how that content will behave based on a set of circumstances. We recommend mapping out when you want content displayed throughout your website so you have a document you can refer to in order to see the big picture.<\/p>\n<h3>Test Your Condition Options<\/h3>\n<p>It&#8217;s always a good idea to test the condition options you have set to make sure they are properly working. We recommend checking out <a href=\"https:\/\/www.browserstack.com\/guide\/test-websites-from-different-countries\" rel=\"noopener\" target=\"_blank\">Browserstack<\/a> and other free online tools to simulate your tests.<\/p>\n<h2>Continue Learning<\/h2>\n<ul>\n<li><a href=\"https:\/\/www.elegantthemes.com\/blog\/divi-resources\/how-to-reveal-a-sales-banner-at-midnight-precisely-with-divis-condition-options\">How to Reveal a Sales Banner at Midnight Precisely with Divi\u2019s Condition Options<\/a><\/li>\n<li><a href=\"https:\/\/www.elegantthemes.com\/blog\/divi-resources\/how-to-retarget-abandoned-carts-with-a-promo-popup-using-divis-condition-options\">How to Retarget Abandoned Carts with a Promo Popup Using Divi\u2019s Condition Options<\/a><\/li>\n<li><a href=\"https:\/\/www.elegantthemes.com\/blog\/divi-resources\/how-to-create-member-exclusive-blog-posts-with-divis-condition-options\">How to Create Member-Exclusive Blog Posts with Divi\u2019s Condition Options<\/a><\/li>\n<li><a href=\"https:\/\/www.elegantthemes.com\/blog\/divi-resources\/how-to-display-time-conditional-content-when-a-countdown-timer-expires-in-divi\">How to Display Time Conditional Content when a Countdown Timer Expires in Divi<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Divi Condition Options allow you to apply advanced logic to any section, row, or module to hide or display elements based on a set of conditions.<\/p>\n","protected":false},"author":8,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6,2],"tags":[],"class_list":["post-11490","post","type-post","status-publish","format-standard","hentry","category-divi-builder","category-divi"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Elegant Themes Documentation<\/title>\n<meta name=\"description\" content=\"The Divi Condition Options allow you to apply advanced logic to any section, row, or module, to hide or display elements based on a set of conditions. This is a powerful feature within Divi, so in this doc, we&#039;ll go over how to access Condition options, how to use them, best tips and practices for using Conditions, and more resources.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.elegantthemes.com\/documentation\/divi\/divi-condition-options\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Using The Divi Condition Options - Elegant Themes Documentation\" \/>\n<meta property=\"og:description\" content=\"The Divi Condition Options allow you to apply advanced logic to any section, row, or module, to hide or display elements based on a set of conditions. This is a powerful feature within Divi, so in this doc, we&#039;ll go over how to access Condition options, how to use them, best tips and practices for using Conditions, and more resources.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.elegantthemes.com\/documentation\/divi\/divi-condition-options\/\" \/>\n<meta property=\"og:site_name\" content=\"Elegant Themes Documentation\" \/>\n<meta property=\"article:published_time\" content=\"2022-12-23T00:10:07+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-02-03T22:50:50+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.elegantthemes.com\/documentation\/wp-content\/uploads\/2022\/08\/2-conditionoptions.png\" \/>\n<meta name=\"author\" content=\"Chaucee Stillman\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Chaucee Stillman\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"9 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.elegantthemes.com\\\/documentation\\\/divi\\\/divi-condition-options\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.elegantthemes.com\\\/documentation\\\/divi\\\/divi-condition-options\\\/\"},\"author\":{\"name\":\"Chaucee Stillman\",\"@id\":\"https:\\\/\\\/www.elegantthemes.com\\\/documentation\\\/#\\\/schema\\\/person\\\/3de16ce355468e6b8ba5b9c41fddf1e8\"},\"headline\":\"Using The Divi Condition Options\",\"datePublished\":\"2022-12-23T00:10:07+00:00\",\"dateModified\":\"2023-02-03T22:50:50+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.elegantthemes.com\\\/documentation\\\/divi\\\/divi-condition-options\\\/\"},\"wordCount\":1686,\"image\":{\"@id\":\"https:\\\/\\\/www.elegantthemes.com\\\/documentation\\\/divi\\\/divi-condition-options\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.elegantthemes.com\\\/documentation\\\/wp-content\\\/uploads\\\/2022\\\/08\\\/2-conditionoptions.png\",\"articleSection\":[\"Divi Builder Plugin Documentation\",\"Divi Theme Documentation\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.elegantthemes.com\\\/documentation\\\/divi\\\/divi-condition-options\\\/\",\"url\":\"https:\\\/\\\/www.elegantthemes.com\\\/documentation\\\/divi\\\/divi-condition-options\\\/\",\"name\":\"Using The Divi Condition Options - Elegant Themes Documentation\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.elegantthemes.com\\\/documentation\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.elegantthemes.com\\\/documentation\\\/divi\\\/divi-condition-options\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.elegantthemes.com\\\/documentation\\\/divi\\\/divi-condition-options\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.elegantthemes.com\\\/documentation\\\/wp-content\\\/uploads\\\/2022\\\/08\\\/2-conditionoptions.png\",\"datePublished\":\"2022-12-23T00:10:07+00:00\",\"dateModified\":\"2023-02-03T22:50:50+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.elegantthemes.com\\\/documentation\\\/#\\\/schema\\\/person\\\/3de16ce355468e6b8ba5b9c41fddf1e8\"},\"description\":\"The Divi Condition Options allow you to apply advanced logic to any section, row, or module, to hide or display elements based on a set of conditions. This is a powerful feature within Divi, so in this doc, we'll go over how to access Condition options, how to use them, best tips and practices for using Conditions, and more resources.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.elegantthemes.com\\\/documentation\\\/divi\\\/divi-condition-options\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.elegantthemes.com\\\/documentation\\\/divi\\\/divi-condition-options\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.elegantthemes.com\\\/documentation\\\/divi\\\/divi-condition-options\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.elegantthemes.com\\\/documentation\\\/wp-content\\\/uploads\\\/2022\\\/08\\\/2-conditionoptions.png\",\"contentUrl\":\"https:\\\/\\\/www.elegantthemes.com\\\/documentation\\\/wp-content\\\/uploads\\\/2022\\\/08\\\/2-conditionoptions.png\",\"width\":1800,\"height\":1142},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.elegantthemes.com\\\/documentation\\\/divi\\\/divi-condition-options\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.elegantthemes.com\\\/documentation\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Using The Divi Condition Options\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.elegantthemes.com\\\/documentation\\\/#website\",\"url\":\"https:\\\/\\\/www.elegantthemes.com\\\/documentation\\\/\",\"name\":\"Elegant Themes Documentation\",\"description\":\"Just another WordPress site\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.elegantthemes.com\\\/documentation\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.elegantthemes.com\\\/documentation\\\/#\\\/schema\\\/person\\\/3de16ce355468e6b8ba5b9c41fddf1e8\",\"name\":\"Chaucee Stillman\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/59f7363034124f1df7ab033be2af9b43b4d1b965245e21d0c5b610ca896cd534?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/59f7363034124f1df7ab033be2af9b43b4d1b965245e21d0c5b610ca896cd534?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/59f7363034124f1df7ab033be2af9b43b4d1b965245e21d0c5b610ca896cd534?s=96&d=mm&r=g\",\"caption\":\"Chaucee Stillman\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Elegant Themes Documentation","description":"The Divi Condition Options allow you to apply advanced logic to any section, row, or module, to hide or display elements based on a set of conditions. This is a powerful feature within Divi, so in this doc, we'll go over how to access Condition options, how to use them, best tips and practices for using Conditions, and more resources.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.elegantthemes.com\/documentation\/divi\/divi-condition-options\/","og_locale":"en_US","og_type":"article","og_title":"Using The Divi Condition Options - Elegant Themes Documentation","og_description":"The Divi Condition Options allow you to apply advanced logic to any section, row, or module, to hide or display elements based on a set of conditions. This is a powerful feature within Divi, so in this doc, we'll go over how to access Condition options, how to use them, best tips and practices for using Conditions, and more resources.","og_url":"https:\/\/www.elegantthemes.com\/documentation\/divi\/divi-condition-options\/","og_site_name":"Elegant Themes Documentation","article_published_time":"2022-12-23T00:10:07+00:00","article_modified_time":"2023-02-03T22:50:50+00:00","og_image":[{"url":"https:\/\/www.elegantthemes.com\/documentation\/wp-content\/uploads\/2022\/08\/2-conditionoptions.png","type":"","width":"","height":""}],"author":"Chaucee Stillman","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Chaucee Stillman","Est. reading time":"9 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.elegantthemes.com\/documentation\/divi\/divi-condition-options\/#article","isPartOf":{"@id":"https:\/\/www.elegantthemes.com\/documentation\/divi\/divi-condition-options\/"},"author":{"name":"Chaucee Stillman","@id":"https:\/\/www.elegantthemes.com\/documentation\/#\/schema\/person\/3de16ce355468e6b8ba5b9c41fddf1e8"},"headline":"Using The Divi Condition Options","datePublished":"2022-12-23T00:10:07+00:00","dateModified":"2023-02-03T22:50:50+00:00","mainEntityOfPage":{"@id":"https:\/\/www.elegantthemes.com\/documentation\/divi\/divi-condition-options\/"},"wordCount":1686,"image":{"@id":"https:\/\/www.elegantthemes.com\/documentation\/divi\/divi-condition-options\/#primaryimage"},"thumbnailUrl":"https:\/\/www.elegantthemes.com\/documentation\/wp-content\/uploads\/2022\/08\/2-conditionoptions.png","articleSection":["Divi Builder Plugin Documentation","Divi Theme Documentation"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.elegantthemes.com\/documentation\/divi\/divi-condition-options\/","url":"https:\/\/www.elegantthemes.com\/documentation\/divi\/divi-condition-options\/","name":"Using The Divi Condition Options - Elegant Themes Documentation","isPartOf":{"@id":"https:\/\/www.elegantthemes.com\/documentation\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.elegantthemes.com\/documentation\/divi\/divi-condition-options\/#primaryimage"},"image":{"@id":"https:\/\/www.elegantthemes.com\/documentation\/divi\/divi-condition-options\/#primaryimage"},"thumbnailUrl":"https:\/\/www.elegantthemes.com\/documentation\/wp-content\/uploads\/2022\/08\/2-conditionoptions.png","datePublished":"2022-12-23T00:10:07+00:00","dateModified":"2023-02-03T22:50:50+00:00","author":{"@id":"https:\/\/www.elegantthemes.com\/documentation\/#\/schema\/person\/3de16ce355468e6b8ba5b9c41fddf1e8"},"description":"The Divi Condition Options allow you to apply advanced logic to any section, row, or module, to hide or display elements based on a set of conditions. This is a powerful feature within Divi, so in this doc, we'll go over how to access Condition options, how to use them, best tips and practices for using Conditions, and more resources.","breadcrumb":{"@id":"https:\/\/www.elegantthemes.com\/documentation\/divi\/divi-condition-options\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.elegantthemes.com\/documentation\/divi\/divi-condition-options\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.elegantthemes.com\/documentation\/divi\/divi-condition-options\/#primaryimage","url":"https:\/\/www.elegantthemes.com\/documentation\/wp-content\/uploads\/2022\/08\/2-conditionoptions.png","contentUrl":"https:\/\/www.elegantthemes.com\/documentation\/wp-content\/uploads\/2022\/08\/2-conditionoptions.png","width":1800,"height":1142},{"@type":"BreadcrumbList","@id":"https:\/\/www.elegantthemes.com\/documentation\/divi\/divi-condition-options\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.elegantthemes.com\/documentation\/"},{"@type":"ListItem","position":2,"name":"Using The Divi Condition Options"}]},{"@type":"WebSite","@id":"https:\/\/www.elegantthemes.com\/documentation\/#website","url":"https:\/\/www.elegantthemes.com\/documentation\/","name":"Elegant Themes Documentation","description":"Just another WordPress site","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.elegantthemes.com\/documentation\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.elegantthemes.com\/documentation\/#\/schema\/person\/3de16ce355468e6b8ba5b9c41fddf1e8","name":"Chaucee Stillman","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/59f7363034124f1df7ab033be2af9b43b4d1b965245e21d0c5b610ca896cd534?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/59f7363034124f1df7ab033be2af9b43b4d1b965245e21d0c5b610ca896cd534?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/59f7363034124f1df7ab033be2af9b43b4d1b965245e21d0c5b610ca896cd534?s=96&d=mm&r=g","caption":"Chaucee Stillman"}}]}},"_links":{"self":[{"href":"https:\/\/www.elegantthemes.com\/documentation\/wp-json\/wp\/v2\/posts\/11490","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.elegantthemes.com\/documentation\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.elegantthemes.com\/documentation\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.elegantthemes.com\/documentation\/wp-json\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/www.elegantthemes.com\/documentation\/wp-json\/wp\/v2\/comments?post=11490"}],"version-history":[{"count":53,"href":"https:\/\/www.elegantthemes.com\/documentation\/wp-json\/wp\/v2\/posts\/11490\/revisions"}],"predecessor-version":[{"id":15462,"href":"https:\/\/www.elegantthemes.com\/documentation\/wp-json\/wp\/v2\/posts\/11490\/revisions\/15462"}],"wp:attachment":[{"href":"https:\/\/www.elegantthemes.com\/documentation\/wp-json\/wp\/v2\/media?parent=11490"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.elegantthemes.com\/documentation\/wp-json\/wp\/v2\/categories?post=11490"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.elegantthemes.com\/documentation\/wp-json\/wp\/v2\/tags?post=11490"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}