Conditional Content [conditional_data] Estimated reading: 1 minute 27 views Contributors Summary: Display OS-specific content in your documentation using a dropdown list and conditional shortcodes. What is Conditional Content? Conditional content refers to the practice of displaying or hiding content based on certain conditions. This allows you to create a more dynamic and personalized experience for your website visitors. You may see a drop-down list of OS list on the doc details page in the right sidebar on the theme demo. See the screenshot below- You can display conditional contents in your documentation using this dropdown. The visitor to your website can see alternative information based on the drop-down value selected. Navigate to Theme Settings Doc Settings Right Sidebar . From there, you will find the drop-down options (which are marked in the screenshot below). You can create/add drop-down list items from this option. Use the [conditional_data dependency="dropdown_title_value"]] Content [[/conditional_data] shortcode to display the conditional contents on your documentation. For example, you can use this dropdown to show different keyboard shortcuts for different OS. Watch the video tutorial to see the process of creating, using, and applying conditional content. Shortcodes and HTML Classes - Previous [direction] Shortcodes for Documentation Next - Shortcodes and HTML Classes [terms] Shortcode