Display Shortcode in pre without execution
-
Does anyone have a sure-fire way to stop WordPress from executing shortcode in pre tags from within the editor and the site’s front-end?
Adding an extra [ in front of the shortcode and ] at the closing shortcode does not work. I also tried a function I got off a WordPress.stackexchange, but that didn’t work either. I have a lot of shortcodes to display for my users, but they are being executed.
IMPORTANT NOTE: I am using my own theme for my own site, as well, my own shortcode plugin for the shortcodes I am using for the site, but I need to display the actual shortcode (code) in tutorials.
I miss my Joomla site 🙂
The topic ‘Display Shortcode in pre without execution’ is closed to new replies.