Shortcodes and HTML Classes Estimated reading: 1 minute 57 views Contributors When a shortcode is inserted into a WordPress post or page, it gets replaced with other content. In other words, we instruct WordPress to locate the macro enclosed in square brackets ([ ]) and replace it with the relevant dynamic content generated by a PHP function. Additionally, you can utilize the preset classes in the theme to quickly and efficiently create your design. Furthermore, using pre-defined classes will ensure that your website is dark mode friendly. Articles[docy_tooltip] shortcode CSS Helper Classes [direction] Shortcodes for Documentation Conditional Content [conditional_data] [terms] Shortcode Docy WordPress documentation Theme - Previous Tips | How To on Docy Next - Docy WordPress documentation Theme Frequently Asked Questions