WordPress.org

Support

Support » Themes and Templates » raindrops » [Resolved] Remove Information From Under Comments

[Resolved] Remove Information From Under Comments

  • Hi, I need to remove this text from under the comments:

    You may use these HTML tags and attributes:
    <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

    Can you please point me to the .php file and code I need to modify.

    Thank You,

Viewing 3 replies - 1 through 3 (of 3 total)
  • Theme Author nobita

    @nobita

    Hi Submersed

    Please try below code.

    functions.php add first line <?php before.

    <?php
    	add_filter( 'comment_form_defaults', 'my_remove_comment_notes_after' );
    	function my_remove_comment_notes_after( $default ){
    	/*
    	 * form-allowed-tags will be removed
    	 *
    	 */
    		$default['comment_notes_after'] = '';
    		return $default;
    	}
    ?>

    Thank you.

    Thanks, worked perfectly.

    Thanks for this one, it worked perfect. Just to make it clear when reading. ADD it as the very first line. Do not delete anything.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] Remove Information From Under Comments’ is closed to new replies.
Skip to toolbar