deepak-rajpal
8/13/2015 - 2:52 PM

Remove You may use these HTML tags and attributes - Tested Codes

Remove You may use these HTML tags and attributes - Tested Codes

<?php   /* Problem: I want to remove this from below the comment box: You may use these HTML tags and attributes: <abbr title=""> <acronym title=""> <b> 
        Reference: https://wordpress.org/support/topic/remove-you-may-use-these-html-tags-and-attributes */ ?>

Solution 1): In the comment php, I had to replace this: ?>
    <?php comment_form(); ?>
  with this: 
    <?php comment_form(array('comment_notes_after' => '')); ?>

Solution 2) Another way to do it with just css would be:
<?php <script>
  .form-allowed-tags{ display:none; }
</script> ?>

<?php //This works for most of the themes! ?>