Removing tags from my own php code – Not from tinyMCE
-
I’m using CSS Javascript Toolkit to insert php code and html code, but this problem happened when I used another php plugin and simply had it load another php page I had written.
WordPress strips out the
tags and occasionally adds the <p></p> tags. There are all kinds of topics related to the tinyMCE editor stripping and adding these tags, but I’m doing it through php and html that’s created at “runtime” when the page is dynamically created.I’ve tried all the typical plugings and no changes. I’ve tried the filters to remove wpautop:
remove_filter( ‘the_content’, ‘wpautop’ );
remove_filter( ‘the_excerpt’, ‘wpautop’ );
yet nothing changes. Does anyone have any other suggestions?I can understand why these wouldn’t work since it’s not the tinyMCE editor that’s being used here other than using the shortcode from CSS Javascript Toolkit in tinyMCE…which may ultimately be the problem.
- The topic ‘Removing tags from my own php code – Not from tinyMCE’ is closed to new replies.