Remove straight quotes from content and code
-
Hello
I’m trying to write a simple wordpress theme.
I’m seeing to be enclosing content in straight quotes on it’s own and I’d like it not to do that.
I’ve looked around a bit here and online and added the following lines to my functions.php file:remove_filter(‘the_content’, ‘wptexturize’);
remove_filter(‘the_content’, ‘wpautop’);it still seems to continue to enclose the post content there, though
I’ve also tried to write an extremely simple plugin:
/*
Plugin Name: portfolioShow
Description: shows portfolio
Version: 1.0
Author: Keith Bonarrigo
Author URI: http://example.com/
*/
function get_port(){
return “it worked!”;
}
add_shortcode(‘port’, ‘get_port’);The plugin is activated but it has the same effect.
You can see this text close to the top of the page here:
http://s121744933.onlinehome.us/wordpressAngular/and when I type [port] it renders those very characters in quotes, rather than the correct text.
I’m (obviously) new to this and I’d really appreciate some help here
thanks very much
The topic ‘Remove straight quotes from content and code’ is closed to new replies.