Title: [Plugin: SyntaxHighlighter Evolved] do_shortcode returns/echos &quot;1&quot;
Last modified: August 20, 2016

---

# [Plugin: SyntaxHighlighter Evolved] do_shortcode returns/echos "1"

 *  [Cliff Seal](https://wordpress.org/support/users/cliffseal/)
 * (@cliffseal)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-syntaxhighlighter-evolved-do_shortcode-returnsechos-1/)
 * I’m doing something a bit more complex for a plugin, but solving this riddle 
   will solve my issue as well.
 * In hooking `do_shortcode` into `the_content` like so:
 *     ```
       add_filter('the_content', 'show_shortcode');
   
       function show_shortcode() {
       	echo do_shortcode('[html]Text[/html]');
       }
       ```
   
 * …it echos/returns `1`. Other shortcodes work as expected, but none of the ones
   associated with this plugin do. Switched `wp_debug` on to no avail.
 * What am I missing here?
 * [http://wordpress.org/extend/plugins/syntaxhighlighter/](http://wordpress.org/extend/plugins/syntaxhighlighter/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [Cliff Seal](https://wordpress.org/support/users/cliffseal/)
 * (@cliffseal)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-syntaxhighlighter-evolved-do_shortcode-returnsechos-1/#post-2831467)
 * I made this work by using `echo apply_filters( 'the_content', '[html]Text[/html]');`,
   but I’m still not sure I understand what was happening.
 *  [Justin Sternberg](https://wordpress.org/support/users/jtsternberg/)
 * (@jtsternberg)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-syntaxhighlighter-evolved-do_shortcode-returnsechos-1/#post-2831597)
 * Same is happening here.. All I get is a 1!!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘[Plugin: SyntaxHighlighter Evolved] do_shortcode returns/echos "1"’ is
closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/syntaxhighlighter_ffffff.svg)
 * [SyntaxHighlighter Evolved](https://wordpress.org/plugins/syntaxhighlighter/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/syntaxhighlighter/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/syntaxhighlighter/)
 * [Active Topics](https://wordpress.org/support/plugin/syntaxhighlighter/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/syntaxhighlighter/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/syntaxhighlighter/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Justin Sternberg](https://wordpress.org/support/users/jtsternberg/)
 * Last activity: [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-syntaxhighlighter-evolved-do_shortcode-returnsechos-1/#post-2831597)
 * Status: not resolved