Using Shortcodes

Conditional Content [conditional_data]

Estimated reading: 1 minute 183 views

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.

Leave a Comment

Share this Doc

Conditional Content [conditional_data]

Or copy link

CONTENTS

Curated lists of the best Creator tools and a weekly newsletter of all things dedicated to helping you make more money as a Creator.

Language:
Copyright 2024, All Rights Reserved
© 2024 Tools for Creators. Made with ❤️ in the USA.
Back to Top Button