1628 posts
  • Elite Author: Sold more than $75,000 on Envato Market
  • Made it to the Authors' Hall of Fame
  • Has been part of the Envato Community for over 6 years
  • Has sold $500,000+ on Envato Market
+8 more
fuelthemes
says

How can one do this? Is there a short function you guys can share?

2627 posts Put a Donk On It
  • Had an item that became a weekly top seller
  • Elite Author: Sold more than $75,000 on Envato Market
  • Sells items exclusively on Envato Market
  • Made it to the Authors' Hall of Fame
+11 more
ThemeProvince
says

strip_shortcodes();

1763 posts LoveThemes
  • Achieved the monthly Community Superstar Award
  • Contributed a blog post
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $75,000+ on Envato Market and is now an Elite Author
+8 more
LoveThemes
says
1383 posts
  • Has been part of the Envato Community for over 5 years
  • Has referred 10+ members
  • Has collected 10+ items on Envato Market
  • Sells items exclusively on Envato Market
+1 more
wpCanyonThemes
says

strip_shortcodes();

Use [ and ]

[ ]
2627 posts Put a Donk On It
  • Had an item that became a weekly top seller
  • Elite Author: Sold more than $75,000 on Envato Market
  • Sells items exclusively on Envato Market
  • Made it to the Authors' Hall of Fame
+11 more
ThemeProvince
says


strip_shortcodes();

Use [ and ]

[ ]

That was the first thing I tried and didnt work.

1383 posts
  • Has been part of the Envato Community for over 5 years
  • Has referred 10+ members
  • Has collected 10+ items on Envato Market
  • Sells items exclusively on Envato Market
+1 more
wpCanyonThemes
says



strip_shortcodes();

Use [ and ]

[ ]
That was the first thing I tried and didnt work.

Dunno works for me.

1088 posts Best-dressed man at PressNomics 2013
  • Power Elite Author: Sold more than $1M on Envato Market
  • Has sold $1M+ on Envato Market and is now a Power Elite Author
  • Made it to the Authors' Hall of Fame
  • Had an item featured on Envato Market
+13 more
Parallelus
says




strip_shortcodes();

Use [ and ]

[ ]
That was the first thing I tried and didnt work.
Dunno works for me.

Works for me too, but I think it’s [ and ]

1383 posts
  • Has been part of the Envato Community for over 5 years
  • Has referred 10+ members
  • Has collected 10+ items on Envato Market
  • Sells items exclusively on Envato Market
+1 more
wpCanyonThemes
says





strip_shortcodes();

Use [ and ]

[ ]
That was the first thing I tried and didnt work.
Dunno works for me.
Works for me too, but I think it’s [ and ]

Yup, but they both work :)

122 posts
  • Has been part of the Envato Community for over 6 years
  • Has referred 10+ members
  • Has sold $1,000+ on Envato Market
  • Has collected 50+ items on Envato Market
+2 more
jayjdk
says

I used this Text to ASCII converter earlier today http://getyourwebsitehere.com/jswb/text_to_ascii.html

Just put the full shortcode in.

701 posts
  • Has been part of the Envato Community for over 7 years
  • Has referred 1+ members
  • Located in Canada
  • Has collected more than 1000 items on Envato Market
chrismccoy
says

maybe a regex? and strip_shortcodes and run it through the_content filter


<?php function hello_world($content)
  {
      if (preg_match('#\<pre?>(.+?)\<\/pre\>#s', $content, $matches)) {
          $content = strip_shortcodes($matches[1]);
      }
  }

  add_filter('the_content', 'hello_world');

?></pre>
by
by
by
by
by
by