• I also have visible HTML tags in comments that are showing in my forms. I want those to go away. Can anyone help me make those go away.

Viewing 2 replies - 1 through 2 (of 2 total)
  • what i need for my wordress

    (@what-i-need-for-my-wordress)

    Hi,
    I add following code to functions.php at the bottom and tags disappear:
    `/**
    * Remove the text – ‘You may use these <abbr title=”HyperText Markup
    * Language”>HTML</abbr> tags …’
    * from below the comment entry box.
    */

    add_filter(‘comment_form_defaults’, ‘remove_comment_styling_prompt’);

    function remove_comment_styling_prompt($defaults) {
    $defaults[‘comment_notes_after’] = ”;
    return $defaults;
    }

    Modifying theme files is not a good idea – as those changes will be lost when the theme is updated.

    @lizfitch – can you post a link to your site?

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘HTML Tags in Comments’ is closed to new replies.