Using Shortcodes Estimated reading: 1 minute 1345 views 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.Articles[direction]Conditional Content [conditional_data]