WordPress.org

Ready to get started?Download WordPress

Forums

echo "<img src='img.png' />" (2 posts)

  1. bird0
    Member
    Posted 8 months ago #

    I placed a code in Footer.php:
    echo "<img src='img.png' " />";
    output was:
    &_l_t;img src='img.png' " /&_g_t;

    WordPress automatically converts
    < to==> &_l_t;
    > to==> &_g_t;

    What to do?

  2. Dave Naylor
    Member
    Posted 8 months ago #

    Remove the extra " from the end of 'img.png' "

Reply

You must log in to post.

About this Topic

Tags