Support » Fixing WordPress » Remove You may use these HTML tags and attributes

Viewing 15 replies - 1 through 15 (of 27 total)
  • depends on your theme….

    does your comments.php have the comments form coded into it? If so, it should be in there….

    or does it use <?php comment_form(); ?>?

    The theme says: <?php comment_form(); ?>
    I assume that is wordpress.

    yup….here’s more info about how comment_form works:
    my first guess is to do this:

    <?php comment_form(
    		'comment_notes_after' => ' ',
    ); ?>

    to get rid of that (in place of the line you have now)…. but I’m not totally sure so I’ll look into it some more, but you can try that….

    Thanks Rev….I did find this in the comment-template:

    ‘You may use these <abbr title=”HyperText Markup Language”>HTML</abbr> tags and attributes: %s’ ), ‘ ' . allowed_tags() . '‘ ) . ‘</p>’,

    looks like if the above doesn’t work…

    function mytheme_init() {
    function mytheme_comments_form_defaults($default) {
    	return $default;

    added to functions.php will

    I did find this in the comment-template:

    in the comment-template in your theme? Or in Wp core?

    If in your theme, you can delete/comment out….. if in WP core, don’t edit that. You’ll lose your changes on an upgrade (also….if you are using twentyten theme we would need to make a child theme…as any changes to twentyten theme get lost on upgrade)

    Rev, the comment-template in the wp files. I am using the swift theme. Love it, but there is too much to configure! I believe it use to have its own comment files, but not anymore.
    Thanks for the info!

    Where would I add this to the function.php?

    function mytheme_init() {

    function mytheme_comments_form_defaults($default) {
    return $default;

    Anywhere. As long as its inside of the opening and closing tags that are already most likely in your functions.php, and you don’t just plop it in the middle of another function….

    lol Thanks, no plopping in the middle of another function. This is getting to be very complicated! 🙂

    Well, it didn’t work. Tried it twice. I will have to check out the swift theme site and see if there is an answer over there!

    FINALLY figured it out! in the comment php, I had to replace this:
    <?php comment_form(); ?>
    with this: <?php comment_form(array('comment_notes_after' => '')); ?>

    This works for the swift theme!

    And work with me in evolve theme also 🙂

    Thanks !


    lol…. See my 1st suggestion in post 4, which would be the exact same code you came up with!


    Worked like a charm!

Viewing 15 replies - 1 through 15 (of 27 total)
  • The topic ‘Remove You may use these HTML tags and attributes’ is closed to new replies.