SyntaxHighlighter Evolved and shortcodes
-
Hi Viper007Bond,
thanks for this plugin! ??On my theme I have some shortcodes active and, if I want to show the sourcecode on a post, WordPress partially executes them.
For example, a line like this:
[php][youtube id=https://www.youtube.com/watch?v=kC9Ju63Bchk width=460 height=372][/php]
will be at a first moment executed (I see the resulting video) and then the video is replaced by the code that would be generated by the shortcode, i.e.
<p><object type="application/x-shockwave-flash" data="https://www.youtube.com/v/kC9Ju63Bchk&hl=it_IT&start=0" height="372" width="460"> <param name="movie" value="https://www.youtube.com/v/kC9Ju63Bchk&hl=it_IT&start=0"> <param name="FlashVars" value="playerMode=embedded"> <param name="wmode" value="transparent"> </object></p>
So, the question is: can I post a shortcode — active on my theme — using your plugin? For “shortcode” I mean a line like this:
[youtube id=https://www.youtube.com/watch?v=kC9Ju63Bchk width=460 height=372]
Bye!
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘SyntaxHighlighter Evolved and shortcodes’ is closed to new replies.