Cannot Comment Out in Posts (2 posts)

  1. tdzurilla
    Posted 9 years ago #

    I am trying to comment out parts of a post. The problem is that WordPress eliminates everything in the post after the comment out (even though the comment out is closed). Any idea why this would be?

  2. Doodlebee
    Posted 9 years ago #

    probably because the <!-- --> tags are used for wordpress-specific things, like <!--more--> or <!--nextpage-->. You're putting in a bunch of stuff, so it's probably confusing WordPress and it just doesn't add it in.

    If you want it to work, replace < with &lt ;. That'll probably do it for you. (Remove the space between t and ; - the forum makes it into the character if I type it correctly.)

Topic Closed

This topic has been closed to new replies.

About this Topic