Capitalyric Capitalyric
  • Accueil 
  • Besoin d’un crédit ? 
  • Qui sommes-nous ? 
  • Nous contacter 
  • Français 
    • Français 
    • English 
    • Deutsch 
    • Dansk 
    • Svenska 
    • Español 
    • Hrvatski 
    • Italiano 
    • Eesti 
Loading...
  1. Home
  2. Docy WordPress Theme
  3. Using Shortcodes
  4. Conditional Content [conditional_data]
Updated on mars 17, 2021
Docy WordPress Theme
  • Icône de dossier fermée Icône d’ouverture de dossierGetting Started
    • Theme Installation
    • Plugins Installation
    • Demo Import
  • Icône de dossier fermée Icône d’ouverture de dossierDocy Options
    • Page Options
    • Theme Settings
  • Icône de dossier fermée Icône d’ouverture de dossierDocumentation
    • Create Onepage Documentation
    • Footnote
    • User Feedback
    • Creating/Editing Documentation
    • How to create Changelogs
  • Icône de dossier fermée Icône d’ouverture de dossierBlog Part
    • TOC Layout
  • Icône de dossier fermée Icône d’ouverture de dossierTips
    • Updating The Theme
    • Optimize Images
    • Language Translations
    • Use the theme’s list style with Gutenberg block
    • How to create Sign in and Sign up pages
  • Icône de dossier fermée Icône d’ouverture de dossierUsing Shortcodes
    • [direction]
    • Conditional Content [conditional_data]
    • [terms]
  • Icône de dossier fermée Icône d’ouverture de dossierFAQ
    • 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]

Temps estimé :1 minute 415 vues

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 [direction]Theme Settings > Doc Settings > Right Sidebar[/direction]. 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.

Use the Content shortcode to display the conditional contents on your documentation. For example, you can use this dropdown for showing different keyboard shortcuts for different OS.

Watch the video tutorial to see the process of creating, using and applying the conditional contents.

Still stuck? How can we help?

How can we help?

Was this page helpful? Oui 2 Non 1

Leave a Comment Annuler la réponse

Share this Doc

Conditional Content [conditional_data]

Or copy link

Icône du presse-papiers
CONTENTS

Powered By EazyDocs

© 2017 Tous droits réservés par kreditonex