WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] HTML code appears on published page

[Resolved] HTML code appears on published page

Viewing 3 replies - 1 through 3 (of 3 total)
  • LindamacCVWC
    Member

    @lindamaccvwc

    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>

    Michael
    Forum Moderator

    @alchymyth

    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; }

    LindamacCVWC
    Member

    @lindamaccvwc

    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!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] HTML code appears on published page’ is closed to new replies.