• Resolved jmarc_d

    (@jmarc_d)


    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 &#8221

    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?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘img path in wordpress text editor’ is closed to new replies.