Show shortcode in posts without rendering/executing it

To show shortcode in posts and pages as examples and not actually render/execute it, use [ ] to enclose the [shortcode] and it’ll work. So if the shortcode is [this is shortcode]title of option[/end of shortcode] and I want to show the shortcode in a post as an example, but not actually have the shortcode run, then I would enter it as:

[[this is shortcode]title of option[/end of shortcode]]

Reference info from stackexchange.

Leave a Reply

Your email address will not be published. Required fields are marked *