{"id":10252,"date":"2021-03-17T11:01:03","date_gmt":"2021-03-17T11:01:03","guid":{"rendered":"https:\/\/helpdesk.spider-themes.net\/docs\/docy-wordpress-theme\/using-shortcodes\/conditional-content-conditional_data\/"},"modified":"2021-03-17T11:01:03","modified_gmt":"2021-03-17T11:01:03","slug":"conditional-content-conditional_data","status":"publish","type":"docs","link":"https:\/\/speedara.org\/?docs=docy-wordpress-theme\/using-shortcodes\/conditional-content-conditional_data","title":{"rendered":"Conditional Content [conditional_data]"},"content":{"rendered":"\r\n<p>You may see a dropdown list of OS list on the doc details page right sidebar on the theme demo. See the screenshot below-<\/p>\r\n\r\n\r\n\r\n<p>You can display conditional contents in your documentation using this dropdown. Visitor of your website can see the alternative info based on the dropdown value selected. <\/p>\r\n\r\n\r\n\r\n<p>Navigate to         <span class=\"direction_steps\">\r\n            <span class=\"direction_step\">Theme Settings &gt; Doc Settings &gt; Right Sidebar<\/span>        <\/span>\r\n        . From there, you will find the Dropdown Options (which is marked in the screenshot below). You can create\/add the dropdown list items from this option.<\/p>\r\n\r\n\r\n\r\n<p>Use the <code>\t\t<span class=\"dropdown_title_value\">\r\n\t\t\t Content \t\t<\/span>\r\n\t\t<\/code> shortcode to display the conditional contents on your documentation. For example, you can use this dropdown for showing different keyboard shortcuts for different OS. <\/p>\r\n\r\n\r\n\r\n<p>Watch the video tutorial to see the process of creating, using and applying the conditional contents. <\/p>\r\n\r\n\r\n\r\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\r\n<iframe title=\"Display Conditional content in Docly WordPress theme\" width=\"1170\" height=\"658\" src=\"https:\/\/www.youtube.com\/embed\/muNTEVSShfs?start=87&#038;feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe>\r\n<\/div><\/figure>\r\n\r\n\r\n\r\n<p><\/p>\r\n","protected":false},"excerpt":{"rendered":"<p>You may see a dropdown list of OS list on the doc details page right sidebar on the theme demo. See the screenshot below- You can display conditional contents in your documentation using this dropdown. Visitor of your website can see the alternative info based on the dropdown value selected. Navigate to . From there, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":10250,"menu_order":1,"comment_status":"open","ping_status":"closed","template":"","doc_tag":[],"class_list":["post-10252","docs","type-docs","status-publish","hentry","no-post-thumbnail"],"acf":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/speedara.org\/index.php?rest_route=\/wp\/v2\/docs\/10252","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/speedara.org\/index.php?rest_route=\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/speedara.org\/index.php?rest_route=\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/speedara.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/speedara.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=10252"}],"version-history":[{"count":0,"href":"https:\/\/speedara.org\/index.php?rest_route=\/wp\/v2\/docs\/10252\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/speedara.org\/index.php?rest_route=\/wp\/v2\/docs\/10250"}],"wp:attachment":[{"href":"https:\/\/speedara.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=10252"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/speedara.org\/index.php?rest_route=%2Fwp%2Fv2%2Fdoc_tag&post=10252"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}