Hi,
I'm currently trying to plug a html theme to wordpress. For that I'm copy pasting HTML in the text editor, but it gave a weird problem with my img path...
for example:
<img src="<?php bloginfo('stylesheet_directory'); ?>/_include/img/slider-images/1.jpg" alt="Image" data-fullwidthcentering="on">
the path mess up to (chrome source code):
<img src="<?php bloginfo('stylesheet_directory'); ?>/_include/img/slider-images/1.jpg” alt=”Image” data-fullwidthcentering=”on”/> where the " appear as ”
It looks like the src is not closing and I can't find why.
ps: I'm using
remove_filter( 'the_content', 'wpautop' );
remove_filter( 'the_excerpt', 'wpautop' );
in my function.php
Any clue?