• spider-themes helpdesk logo Helpdesk
  • EazyDocs
  • SpiderThemes
Spider Themes Helpdesk Spider Themes Helpdesk
  • Home
  • Forums
    • All Forums
    • Docy – WordPress Theme
    • Banca WordPress Theme
    • Landpagy WordPress Theme
    • Zoomy WordPress Theme
    • AMA WordPress Theme
  • Docs
    • All Docs
    • Docy WordPress Theme
    • EazyDocs Documentation Plugin
    • Docy Jekyll Theme
    • Banca WordPress Theme
    • Landpagy WordPress Theme
  • Blog
Ask/Login
Spider Themes Helpdesk Spider Themes Helpdesk
Ask/Login
Spider Themes Helpdesk
  • Home
  • Forums
    • All Forums
    • Docy – WordPress Theme
    • Banca WordPress Theme
    • Landpagy WordPress Theme
    • Zoomy WordPress Theme
    • AMA WordPress Theme
  • Docs
    • All Docs
    • Docy WordPress Theme
    • EazyDocs Documentation Plugin
    • Docy Jekyll Theme
    • Banca WordPress Theme
    • Landpagy WordPress Theme
  • Blog
loading
  1. Home
  2. Docs
  3. Docy WordPress Theme
  4. Shortcodes and HTML Classes
  5. Conditional Content [conditional_data]
Updated on September 26, 2023

Docy

Docy WordPress Theme

  • Folder icon closed Folder open iconGetting Started
    • Server Requirements
    • Theme Installation
    • Plugins Installation
    • Demo Import
  • Folder icon closed Folder open iconDocy Options
    • Page Options
    • Theme Settings
  • Folder icon closed Folder open iconElementor
    • Explore the Docy Template Library
  • Folder icon closed Folder open iconTips / How To on Docy
    • How to create Changelogs
    • How to Edit the Footer
    • Updating The Theme
    • Optimize Images with Image Optimizer Plugins
    • Language Translations
    • How to create Sign in and Sign up pages
    • How to add description with menu item
  • Folder icon closed Folder open iconShortcodes and HTML Classes
    • CSS Helper Classes
    • [direction] Shortcodes for Documentation
    • Conditional Content [conditional_data]
    • [terms] Shortcode
  • Folder icon closed Folder open iconFrequently Asked Questions
    • How to Paginate a Post?
    • How to set the site’s favicon?
    • How to Change the Author’s Avatar?
    • How to update premium plugins?
    • How to apply custom CSS code.

Conditional Content [conditional_data]

Estimated reading: 1 minute 399 views Contributors

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 Content 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

Still stuck? How can we help?

How can we help?

A premium WordPress theme with integrated Knowledge Base, providing 24/7 community based support

Was this page helpful? Yes No

Recently Viewed articles

  • Frequently Asked Questions
  • Explore the Docy Template Library
  • Theme Settings
  • Page Options
  • Server Requirements
  • Getting Started
  • Docy WordPress Theme
  • See More

Leave a Comment Cancel reply

Share this Doc

Conditional Content [conditional_data]

Or copy link

Clipboard Icon
CONTENTS

Powered By EazyDocs

Leaf Illustration

This website is made with Docy