Forums

[resolved] Extra Code Showing up in my post (10 posts)

  1. carrieheather
    Member
    Posted 1 year ago #

    Hello,
    When I post, the following code comes up under my comment box.

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

    I have no idea what it mean or how to get rid of it.
    Can anyone help?

    An example post is:
    http://carrieheather.com/blog/?p=122
    Thank you so much!
    Carrie

  2. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    Try adding:

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

    to the bottom of your stylesheet.

  3. carrieheather
    Member
    Posted 1 year ago #

    Thank You So much! I'm not sure I know what that means.
    Do I just add it directly to the bottom of the style sheet? at the very bottom?

  4. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    Yes. It's not an error or a bug. It's the standard WordPress output at the bottom of a comment form. The CSS I gave above will hide it.

  5. carrieheather
    Member
    Posted 1 year ago #

    hmm..didn't work.
    I added the code you suggested to the very bottom of the style sheet, under where it says footer styles//.....

    Not sure, if I should add it to the comments style sheet?

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

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

  6. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    I can't see the CSS that I suggested in your theme's stylesheet. Perhaps you added it to the wrong theme?

  7. carrieheather
    Member
    Posted 1 year ago #

    Hi Esmi,

    Ok, so I added the line of code you said, to the very bottom of the comments style sheet.

    The original code I was asking about it gone which is great, but now the code you suggested is there?

    http://carrieheather.com/blog/?p=127

  8. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    You need to add it to style.css - not comments.php!

  9. carrieheather
    Member
    Posted 1 year ago #

    You're a genius! Thank you!

  10. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    Glad it finally worked. :-)

Topic Closed

This topic has been closed to new replies.

About this Topic