1642 posts
  • Elite Author
  • Featured Author
  • 6 Years of Membership
  • Author Level 10
+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
  • Weekly Top Seller
  • Elite Author
  • Exclusive Author
  • Featured Author
+11 more
ThemeProvince
says

strip_shortcodes();

1845 posts LoveThemes
  • Elite Author
  • Author Level 7
  • Exclusive Author
  • Trendsetter
+10 more
LoveThemes
says
1383 posts
  • 5 Years of Membership
  • Affiliate Level 2
  • Collector Level 2
  • Exclusive Author
+1 more
wpCanyonThemes
says

strip_shortcodes();

Use [ and ]

[ ]
2627 posts Put a Donk On It
  • Weekly Top Seller
  • Elite Author
  • Exclusive Author
  • Featured Author
+11 more
ThemeProvince
says


strip_shortcodes();

Use [ and ]

[ ]

That was the first thing I tried and didnt work.

1383 posts
  • 5 Years of Membership
  • Affiliate Level 2
  • Collector Level 2
  • Exclusive Author
+1 more
wpCanyonThemes
says



strip_shortcodes();

Use [ and ]

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

Dunno works for me.

1095 posts Best-dressed man at PressNomics 2013
  • Power Elite Author
  • Author Level 12
  • Featured Author
  • Featured Item
+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
  • 5 Years of Membership
  • Affiliate Level 2
  • Collector Level 2
  • Exclusive Author
+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
  • 6 Years of Membership
  • Affiliate Level 2
  • Author Level 3
  • Collector Level 3
+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
  • 7 Years of Membership
  • Affiliate Level 1
  • Canada
  • Collector Level 6
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