How do you escape shortcodes?
-
How can you escape shortcodes in a way that you can freely switch between the Visual and HTML editors?
I saw this post saying that you can use the HTML entity codes for “[” and “]”, but then you cannot switch between Visual and HTML editors.
The reason I need this is that I’ve written a plugin using shortcodes, and I’m creating a sample page that describes and demonstrates the use of the shortcodes. I want to actively encourage the user to switch between Visual and HTML modes, since this is for a code highlighting plugin, so it’s important to understand where the PRE tags are.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘How do you escape shortcodes?’ is closed to new replies.