{"id":5448,"date":"2022-06-13T18:36:40","date_gmt":"2022-06-13T12:36:40","guid":{"rendered":"https:\/\/helpdesk.spider-themes.net\/docs\/eazydocs-wordpress-plugin\/shortcodes\/how-to-show-conditional-dropdown-contents-using-shortcode\/"},"modified":"2026-01-23T12:59:09","modified_gmt":"2026-01-23T12:59:09","slug":"how-to-show-conditional-dropdown-contents-using-shortcode","status":"publish","type":"docs","link":"https:\/\/arolax.crowdytheme-demo.com\/documentation\/docs\/eazydocs-wordpress-plugin\/shortcodes\/how-to-show-conditional-dropdown-contents-using-shortcode\/","title":{"rendered":"Show Conditional Dropdown Contents Using Shortcode"},"content":{"rendered":"\r\n<h3 class=\"wp-block-heading\">What is Conditional Dropdown Content?<\/h3>\r\n\r\n\r\n\r\n<p>Let&#8217;s use an example to make it clear. If you want to create documentation of keyboard shortcuts, the shortcuts might differ for Windows and Mac OS. In this scenario, you can use a conditional dropdown to display different content for each dropdown element.<\/p>\r\n\r\n\r\n\r\n\r\n<p>&#8220;Similar to the previous example, we can use the <code><strong><em>conditional_data<\/em><\/strong><\/code> shortcode and its dependencies. In this case, the dependencies are <strong>Windows <\/strong>and <strong>iOS<\/strong>.<\/p>\r\n\r\n\r\n\r\n<p>&nbsp;<\/p>\r\n\r\n\r\n\r\n<h3 class=\"wp-block-heading\">Setting Up Dropdown Options for Conditional Dropdown EazyDocs Shortcode<\/h3>\r\n\r\n\r\n\r\n<p>Here are the steps to create dropdown options for a conditional dropdown &#8211;<\/p>\r\n\r\n\r\n\r\n\r\n\r\n<p>If you have any questions or concerns feel free to post on our<a href=\"https:\/\/arolax.crowdytheme-demo.com\/documentation\/forums\/\" target=\"_blank\" rel=\"noreferrer noopener\"> <strong>Spider-Themes Support Forum<\/strong><\/a>.<\/p>\r\n","protected":false},"excerpt":{"rendered":"<p>Conditional dropdown content allows you to display different information based on user selection, such as Windows or iOS shortcuts. Set it up easily in EazyDocs by enabling options and customizing each dropdown item.<\/p>\n","protected":false},"author":5,"featured_media":0,"parent":5436,"menu_order":28,"comment_status":"open","ping_status":"closed","template":"","doc_tag":[9],"class_list":["post-5448","docs","type-docs","status-publish","hentry","doc_tag-eazydocs-shortcode"],"_links":{"self":[{"href":"https:\/\/arolax.crowdytheme-demo.com\/documentation\/wp-json\/wp\/v2\/docs\/5448","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/arolax.crowdytheme-demo.com\/documentation\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/arolax.crowdytheme-demo.com\/documentation\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/arolax.crowdytheme-demo.com\/documentation\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/arolax.crowdytheme-demo.com\/documentation\/wp-json\/wp\/v2\/comments?post=5448"}],"version-history":[{"count":4,"href":"https:\/\/arolax.crowdytheme-demo.com\/documentation\/wp-json\/wp\/v2\/docs\/5448\/revisions"}],"predecessor-version":[{"id":18169,"href":"https:\/\/arolax.crowdytheme-demo.com\/documentation\/wp-json\/wp\/v2\/docs\/5448\/revisions\/18169"}],"up":[{"embeddable":true,"href":"https:\/\/arolax.crowdytheme-demo.com\/documentation\/wp-json\/wp\/v2\/docs\/5436"}],"wp:attachment":[{"href":"https:\/\/arolax.crowdytheme-demo.com\/documentation\/wp-json\/wp\/v2\/media?parent=5448"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/arolax.crowdytheme-demo.com\/documentation\/wp-json\/wp\/v2\/doc_tag?post=5448"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}