WordPress.org

Forums

[resolved] HTML code appears on published page (4 posts)

  1. LindamacCVWC
    Member
    Posted 9 months ago #

  2. LindamacCVWC
    Member
    Posted 9 months ago #

    Just realized it's on all of my pages and also on the posts except for the front page of the site which is a post. This is what it actually says:

    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>

  3. alchymyth
    Forum Moderator
    Posted 9 months ago #

    the 'code' is part of the comment section;

    review for example:
    http://wordpress.org/support/topic/remove-you-may-use-these-html-tags-and-attributes?replies=28

    possibly add this to the styles of your theme:

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

  4. LindamacCVWC
    Member
    Posted 9 months ago #

    Thanks so much, worked great for me for the 2014 theme. In the comment php, I replaced this:

    <?php comment_form(); ?>

    with this:
    <?php comment_form(array('comment_notes_after' => '')); ?>

    No more html under the comment section - thanks!

Reply

You must log in to post.

About this Topic