Forums

Img src tag allowed in comments? (4 posts)

  1. excentriqua
    Member
    Posted 6 years ago #

    Hi, I was wondering if there was any way I could allow people to post images within comments without uploading them -- a simple img src tag. I looked in the codex and I found the list of HTML you can choose to allow, and anything resembling img src wasn't on there. Even still, I have them all allowed, but still nothing.

    Any way I can allow this or just any HTML code known to man? Thanks.

  2. Kafkaesqui
    Moderator
    Posted 6 years ago #

    You could insert the tag into the $allowedtags array in kses.php:

    http://pastebin.ca/15616

  3. excentriqua
    Member
    Posted 6 years ago #

    Ah, thanks for the link! I know it seems obvious, but I didn't know how to write that in using the php abbreviations...thanks. =)

  4. nyflorac
    Member
    Posted 6 years ago #

    I wrote the solution step by step here. http://wordpress.org/support/topic/57859?replies=12#post-370605

Topic Closed

This topic has been closed to new replies.

About this Topic