Use a double third brackets then. In visual editor:
[[my-shortcode]]
To show shortcode as a code, in HTML/Text mode:
<code>[[my-shortcode]]</code>
And you can even write anything with a third bracket in this way:
Do something [[once]] and go…
*suggested by SergeyBiryukov
Related Posts:
- Preserve shortcode content formatting
- Documentation for adding a tinyMCE view for visual live preview of custom shortcode?
- Placing tags on wordpress visual editor using shortcodes
- Using wp_editor in shortcode
- How to add multiple buttons to TinyMCE?
- Shortcode to insert
- Shortcode perfomance solution
- TinyMCE popup windows using WP functions
- How to prevent tinymce macro from inserting nbsp;?
- Tinymce shortcodes within shortcode contents
- TinyMCE get selected text and underlying HTML
- Is it possible to add a repeater field to TinyMCE’s option window?
- How do I preview the result of a shortcode in the TinyMCE editor?
- Tinymce list of shortcodes button
- Is it possible to ignore the first Line Break in a preformatted Div from a shortcode?
- Custom Shortcode: define cursor position/insertion point?
- How to prevent shortcode preview from breaking in tinymce editor?
- wp_editor in thickbox
- How to protect parts of my code from TinyMCE modification when switching from text to visual mode?
- Pass data back to TinyMCE from Thickbox
- How to make shortcode which returns HTML?
- Shortcode from admin textarea to page
- tinymce custom button
- Why can’t I type [ ] opening and closing brackets on the Visual tab?
- Output html source tags inside shortcode
- How to print [embed] code in wordpress [duplicate]
- What makes a placeholder resizable in Tinymce?
- Shortcode templates
- Identifying first and last instance of shortcode in post
- How to add button to WYSIWYG to insert shortcode with params (filled in system popup)?
- convert it into short code & explan how? [closed]
- Enqueue Scripts / Styles when shortcode is present
- Conditionally Loading JavaScript/CSS for Shortcodes
- How to add a shortcode button to the TinyMCE editor?
- What does extract( shortcode_atts( array( do?
- Adding Custom Text Patterns in the WP 4.5 Visual Editor
- Add custom TinyMCE 4 Button, Usable since WordPress 3.9-beta1
- How do I escape a ‘]’ in a short code?
- Pass boolean value in shortcode
- Show shortcode without executing it
- Shortcode always displaying at the top of the page
- Redirect function inside a Shortcode
- How to create a shortcode with 1 parameter (atts)
- Forcing reload of editor-style.css
- how to show the syntax of a shortcode
- Custom shortcode being executed when saving page in wp-admin
- Add self-closing shortcode button to TinyMCE in WP 4.6
- Change appearance of shortcode text inside editor
- Add popup window to TinyMCE buttons
- current_shortcode() – detect currently used shortcode
- shortcodes output before content [duplicate]
- WordPress plugin shortcode not working
- How to add stylesheets only to pages with specific shortcode?
- TinyMCE editor is breaking my beautiful HTML
- Can you add the visual editor to the description field for custom taxonomies?
- WordPress Visual Editor Stripping HTML Changes
- Using get_option() in JavaScript
- Shortcode empty attribute
- How does a shortcode work?
- Shortcode outputs at the top of the_content
- the_excerpt and shortcodes
- Remove wpautop from shortcode content / remove whitespace in buffering
- Get current post id witout passing in shortcode
- Why are you using add_action for shortcode?
- How to get URL param to shortcode?
- Check if post/page has gallery?
- Get first video from the post (both embed and video shortcodes)
- Get shortcode name from within it’s callback function? [duplicate]
- Featured image shortcode
- Wordspress add into my javascripts
- Making a Shortcode [NEXT] and [PREVIOUS] to place into specific posts for post navigation
- How do I create a Shortcode that returns text if domain is .com, not .co.uk
- Using preg_replace to separate gallery from the_content?
- Is there a way to add another row to the tinyMCE kitchen sink toggle?
- Remove ‘Custom..’ option in tinyMCE colour swatch
- Remove specific shortcode from get_the_content()
- How to display the site name in a WordPress page, or post
- Hide/show content starting in the middle of a paragraph
- Combining shortcode and get_template_part
- How to replace the content of tinyMCE editor in both text and visual mode using jQuery?
- How can I put a wp_redirect into a shortcode?
- Escaping quotes from shortcode attributes
- Run visual composer code in php page
- short code output too early
- Shortcode in shortcode: How to append variable?
- Remove wptexturize from a shortcode?
- How can i put an array as variable in shortcode_atts?
- Autoembeds don’t work with paragraphs
- Table of Contents with a shortcode
- Create custom [sourcecode] shortcode, the right way?
- TED talks shortcode not working
- Allowing shortcodes inside attributes
- What is the best way to enable nested shortcodes?
- wp_editor disable after reaching character count limit
- Styling Shortcodes in Visual Editor
- Tiny MCE editor stripping xlink:href parameter from SVG USE tag
- Tinymce – How to hook before or after live shortcodes rendering?
- Change behavior of “Insert into Post” based on attachment metadata
- How to customize a shortcode using the customizer
- Native “playlist” shortcode random playing… How?