Docy WordPress Theme
Using Shortcodes
When a shortcode is inserted in a WordPress post or page, it is replaced with some other content. In other words, we instruct WordPress to find the macro that is in square brackets ([]
) and replace it with the appropriate dynamic content, which is produced by a PHP function.