WordPress.org

Support

Support » How-To and Troubleshooting » Put comments in your comments box

Put comments in your comments box

  • Mark (podz)
    Support Maven

    @podz

    Put text in your comments box that disappears as soon as the viewer clicks in the box. Possibly useful 🙂

    Default Classic ‘comments.php’ line 62
    <p><textarea name="comment" id="comment" cols="100%" rows="10" tabindex="4"></textarea></p>

    Although I have no idea of the vintage of my comments file, that line above now looks like this:
    <p>
    <textarea onFocus="this.value=''; this.onfocus=null;" return false; name="comment" id="comment" cols="60" rows="12" tabindex="4">

    ++++++++I have some text here++++++

    </textarea>
    </p>

    Just something to play with really 🙂

  • The topic ‘Put comments in your comments box’ is closed to new replies.