WordPress.org

Ready to get started?Download WordPress

Forums

How can I remove the notes below the comment box in twenty ten theme (4 posts)

  1. alanfolkard
    Member
    Posted 3 years ago #

    How can I remove these words below the comment box in Twenty ten wordpress 3.1

    “You may use these HTML tags and attributes: <abbr title=”"> <acronym title=”"> <b>

    <cite> <del datetime=”"> <i> <q cite=”"> <strike>

  2. elfin
    Moderator
    Posted 3 years ago #

    it's WordPress, rather than twenty ten specific.

    Try adding a filter to the themes function file:

    add_filter('comment_form_defaults','changing_comment_form_defaults');
    function changing_comment_form_defaults($defaults){
      $defaults['comment_notes_after']='';
      return $defaults;
    }

    (untested)

    Alternatively you could amend CSS to just hide things:
    .form-allowed-tags{display:none;}

  3. alanfolkard
    Member
    Posted 3 years ago #

    Thanks, can I amend CSS do through the editor built in to 3.1? Is it just a case of finding the .form-allowed-tags in the style.css file section and then adding display:none; by typing into the editor?

  4. elfin
    Moderator
    Posted 3 years ago #

    Yes, add it to the bottom, or search the page to see if any style is already being applied and amend that.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.