WordPress.org

Support

Support » Themes and Templates » [Resolved] remove "You may use these HTML tags and attributes: "

[Resolved] remove "You may use these HTML tags and attributes: "

  • Hi. I’m new to wordpress. After struggling with Joomla for two years, I’ve found wordpress light and very easy to use. I am however, banging my head against a brick wall over this problem and google isn’t bringing anything up on the subject.

    At the bottom of a page or post, there’s a option for people to leave a reply to the post. It includes:

    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 – i removed the brackets because it was messing up the thread.

    I suspect my customers won’t understand this or want to include it in any response but I can’t find the css or php file that includes this. Can anyone help?

    http://weddingphotographersinsheffield.com/?p=5

    arras theme http://demo.arrastheme.com/

    WordPress v3.0

    Cheers.

Viewing 15 replies - 1 through 15 (of 18 total)
  • You can add this to the bottom of your css file

    .form-allowed-tags{
    display:none;
    }

    I think that should do it

    sorry – i did see that fix in another forum. I looked through the code and saw that is also used another css file:
    @import url(‘css/default.css’);
    but that file doesn’t exist.

    All very strange.

    Just go to your wp-admin page Appearance -> Editor.

    On the right hand side you should see some stylesheets listed under the heading of Styles choose one of those and edit it as in the previous post

    hello bwoose… do you know how to use ftp? is so, then do this…

    1. connect via ftp and open the ‘pilcrow’ folder… here’s the exact location: public_html/wp-content/themes/pilcrow/

    2. when you reach that folder, Look for the file named ‘style.css’ right click, and hit edit via notepad…

    3. once you’ve opened it on notepad, hit ctrl+f and search for this exact words: ".form-allowed-tags" (without the quotes)

    you should be able to see something simmilar to this:

    .form-allowed-tags {
    	color: #999;
    	font-size: 12px;

    4. under that code,(right after font-size:12px;) Paste this stuff:

    display:none;

    5. hit save and you shouldn’t be able to see those stuffs anymore! 🙂

    However,

    if you can access your stylesheet (style.css) via wp-admin>>appearance>>> editor, then just do what lockettpots suggested…

    open style.css on admin>appearance>>editor and do what I suggested from step 3 to 5! only this time, you won’t be editing the stylesheet on notepad but directly on the wp admin panel.

    hope this helps!

    elie

    style.css

    [CSS moderated as per the Forum Rules. Please just post a link to your site.]

    that’s it. I checked in css/default.css and user.css but nothing doing either. I’ve left a thread in the arras forum. but this is a common feature of wordpress and i’m stunned that someone felt the need to include it let alone omit the option to remove it when everything else is put together so well.

    to add to the confusion:
    http://codex.wordpress.org/Function_Reference/comment_form

    the allowed html tag list (with the corresponding css class) comes directly from the comment_form() code.
    if you can find where the comment_form() is called (probably comments.php), you can change it there to remove the ‘comment_notes_after’.

    there is no need for the theme to have this class anywhere in the css files.
    if you want to use it, add it to the usual css file – in arras this is user.css.

    i just added ,’comment_notes_after’ => ” to comments.php but it removed the whole reply function. I just want to remove the text.

    you can add it as the last ‘parameter’ into comment_form() in comments.php:

    http://pastebin.com/uDPZzQtg

    sorted it – added

    .form-allowed-tags { display: none; }

    into user.css and it worked a treat.

    Be sure to mark this as resolved then. Enjoy!

    @ lockettpots – Thank you! After an hour of research I finally found this post, added the code below to my style.css file and it work great!

    .form-allowed-tags{
    display:none;
    }

    That work fine @mark Choo, thanks

    Just added the code in the section for comments in style.css

    Rondena – You are very welcome my friend! Happy to give back to the community!

    Mark

    This helped me too! The last thing I want to do is mess with any php files that will cause havoc on my site. This is the simplest solution, and I like simple! Thanks @lockettpots @mark Choo!

    And thanks for posting this @bwoose – I felt your frustration today, but also found the solution here.

    wow! bwoose…

    thanks a lot. it worked for me.

    http://studentemploymentcenter.com/

Viewing 15 replies - 1 through 15 (of 18 total)
  • The topic ‘[Resolved] remove "You may use these HTML tags and attributes: "’ is closed to new replies.
Skip to toolbar