S A A S L A N D

Loading

Shortcodes and HTML Classes

Estimated reading: 1 minute 549 views

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.

Leave a Comment

Share this Doc

Shortcodes and HTML Classes

Or copy link

CONTENTS