As shown in part 1 of this article, some themes display this as the html you are confined to when commenting:
Explanation (for those not familiar with html)
All the above are opening tags: each one says “mark up the text from this point on”. Each one must always be paired with a corresponding closing tag (same tag but with a slash after the first bracket) that says “up to this point”.
Enclosed text will turn to italics.
Enclosed text will turn bold.
(Strictly speaking, “em” and “strong” mean emphasis and stronger emphasis, and can result in some other differentiation; in practice they almost invariably translate to italics and bold.)
<a href="">TEXT HERE</a>
Enclosed text will turn into a link to the address you put inside the quotes.
(The address must be the exact complete URL as copied from the address bar of your browser.)
Enclosed text is a quotation. The visual result varies, depending on the theme. Forget “q”, as it doesn’t work in Explorer.
Enclosed text will show up with a strikethrough line.
If you copy-paste some text from a text editor, enclosing it this way will preserve multiple spaces and line breaks.
Displays computer code. Can’t be used to display html tags.
Enclosed word is an abbreviation or an acronym. No difference visually. Practically useless unless in conjunction with the title attribute.
Adding this to the opening tag of a link, an abbreviation or an acronym will make the text you put inside the quotes pop up upon hover over. For example, if you write this:
<a href="http://wpbtips.wordpress.com/2010/05/10/html-allowed-in-comments-1/" title="Html allowed in comments (1)">Click here for part 1 of this article</a>
the result will be this (place your cursor over the link and wait before clicking):
Click here for part 1 of this article
(And I would feel sorry for whomever uses this in a comment…)
Adding these to an opening “del” tag is meant for recording why and when the text was struck through, i.e revised. Absolutely pointless in a comment, plus no major browser supports them.
• These tags can have a combined effect; for example:
<b><i>This will be bold and italics</i></b>
This will be regular text, <b>this will be bold, <i>this will be bold and italics, </i>this will be bold only, </b>this regular again.
• All other html tags and attributes are stripped out. So, among other things, you cannot make any other changes to the style or the formatting of the text (e.g. size, color, or indenting), you cannot make a link open in a new window, and you cannot insert images.
On the other hand:
• Html entities (see Links 1 in my sidebar) can be used.
• You can use the source-code shortcode to display code (including html tags).
• If you paste a valid URL, it will automatically turn into a live link.
• If you paste the URL of a Youtube video in particular, the video itself will show up.
(To disable a Youtube video posted that way in your blog: Comments > Edit > highlight video URL > click code button > click Update.)
• Some video shortcodes work. (I haven’t tried them all; of those I have tried, flickr, ted, wpvideo, and youtube work, blip.tv, livevideo, and vimeo don’t.)
• The soundcloud and gigya shortcodes also work.
Comments are basically dialogue; it’s not likely that you’ll ever need anything fancy or far-fetched in a comment. But anyway it should be clarified that all those html restrictions apply to commenting as a visitor: when commenting on your own blog, you can use all the html allowed in posts. Demo comment below.
Link that opens in a new window
Text with bg color
(i’ll squeal said she
just once said he)
it’s fun said she
(may i touch said he
how much said she
a lot said he)
why not said she
(let’s go said he
not too far said she
what’s too far said he
where you are said she)
may i stay said he
(which way said she
like this said he
if you kiss said she
may i move said he
is it love said she)
if you’re willing said he
(but you’re killing said she
but it’s life said he
but your wife said she
now said he)
ow said she
(tiptop said he
don’t stop said she
oh no said he)
go slow said she
ummm said she)
you’re divine!said he
(you are Mine said she)
║=♮ ly ✁ , ∴ ☆ ☆ ☆!
post is natural ly a cut above, therefore 3 stars!
Two of my favorites in one comment: scrolling E. E. Cummings…
to waste the morning onlineto read poetry. Though he misses a few words, I found this reading moving:
Thanks! (I’m sure you don’t mind my adding a couple of semi-colons etc…)
( ; ; \_____ good euphemism
Well I said “etc”! (Leaving the other comments would spoil it, wouldn’t it?)
do you think Ropula is a krzysztof kieslowski fan there?
my favorite is red (Trois Couleurs: Rouge) but for some reason i could find only a complete set of blue on YouTube a week or so ago….
I have videos of the trilogy, but my VCR is long gone.
have you seen those movies?
If not, take a look. I’d be curious about what you think of them…
I’d rather not say what I think Ropula is…
No I haven’t seen those three. I had seen Veronica, wasn’t impressed, hated the music, lost interest in this director. Can’t guarantee I’ll take a look!
(But Cummings is my favorite poet)
Veronica did not impress me either. More tv than art—don’t remember exactly why anymore, though.
I saw Red first. I’m always interested in how one can not know the first or last time a significant event happens. Things sometimes occur serendipitously, coincidentally, and / or unasked for. First, last—how do we know? Life goes on, we have the relationships, the moments are what we have… interwoven with the moments of other people.
Red begins with a phone call (though not this one)…
Blue and White are like supporting plots to the themes of Red—characters and scenes from Red appearing in the background of the other two movies.
I have thought about that poem for some time. Now I wonder if I’d have been better served in high school to have taken wood-shop, metal-shop, or auto-mechanics than English classes? Little did I know what I’ve been missing all these years! Thanks.
GAK! the poem in your post, not this new one.
If you did Cummings in English classes and didn’t like him, then you had incompetent teachers! Same with me: we have some great poets, and we have the tragedies of course, but the only thing our teachers managed to do is make us hate them. I started discovering their beauty on my own, years after school was over…
[Comment content and subsequent comments removed. Do your testings in your own blog. – P.]
Gosh, do you ALWAYS have to be so elaborate? [Looking at your posts with eyes green with envy]
sigh… Panos is always so brilliant. It makes me jealous!!! If I only had half the talent that he has!
Well, I just try to be thorough…
Hi again! Guess what! You can add image maps in a comment as well! Also, image maps work in wordpress.com blog posts now (it wasn’t possible the last time I tried).
My latest post and its comment shows examples of image maps.
I was wondering… since you are good in HTML and you like to experiment, may be you will want to do a how-to post for image maps! I can’t wait for the lovely goodies that will result once you begin to tweak with image map codes! :D
NG’s post here.
• When commenting in your own blog, you can add practically anything you could add via a text widget. I don’t think a visitor can use an image map in a comment; but I don’t really know that – try logging out and see.
• Maybe it wasn’t possible with the particular tool you used. In general I think it was: I think Tess had used image mapping in her blog many months ago.
• As for your suggestion, I’ll probably disappoint you, as I’ve never tried image mapping. In fact, I haven’t even grasped what use it may be in a blog. Ideas?
Yes Tess seems to have used it before (apparent from her forum reply). She replied in the forums that it’s been around for at least two years. I think I tried it before that period.
The tool I used before is the tool I use now, which is kwout.
One thing I did find out that switching the editor to and fro messes up the code and renders it “map-less” – may be I was unknowingly making this mistake years ago, I don’t know.
I do have some ideas for it, but I don’t want to express them before testing them. So far I have used it to quote other sites – it’s convenient for me to include multiple links within an image.
I’ve spent a lot of time reading on here just lately. You have some excellent tips and thank you for sharing.
I’ve noticed that I can post pictures in my comments and on other peoples comments using the Gigya code and the pics show up. I’m using Firefox, however they don’t show up with IE, just get a white box….
So my question, is there a way to make IE show them too?
It’s not clear to me how you post pictures via gigya; please explain and link to an example.
“On other peoples comments” is also not clear to me: why interfere with others’ comments?
Sorry, like a guestbook sort of thing leaving a picture….http://ray3d.wordpress.com/say-hello/
Someone, posted a link to me, in comments so I converted it to a picture. Which showed up, using this.
[Image removed by request – P.]
So I went to their blog and did the same in their “guestbook” and the picture showed up there too.
[gigya src= then the link to the pic.
I see. The gigya shortcode is for inserting flash objects. To insert an image you use the standard HTML for an image – see here:
That should take care of things in lousy IE too.
OK thanks a lot…Sorry for the confusion. :)
Let me try again, some of my friends like to post pictures in guestbooks. (Or pages that could be used as guestbooks).
As we know, the proper code is stripped out, when trying to post a pic in someone else’s comments.
I just thought I’d try [gigya src=” to post a pic in someone else’s comments, to see what happened.
So all I’m saying is it worked with Firefox, but not with IE. Wether that’s a good or bad thing, I don’t know…
Gigya shortcode works for putting pictures in comments!! Logged in or logged out.
Not just the link:
Though apparently not in IE browers
Does other gigya code work in IE? For example:
Thanks Gracie, Yep the Globe works in IE, but not in Firefox.
It looks great too!
So you can see this in FireFox, but not in IE:
[Image removed by request – P.]
But the opposite is true for the globe? (BTW, I don’t think the globe stats are very dependable.)
Correct, not in IE.
The globe did show up in Firefox when I went to the actual site, but not on the page here for some reason. With IE it shows up here too.
Ok I disabled a couple of addons in Firefox and now I see the globe here too…..
However the pic above, all I’m getting in IE is a white box with a scroll….
Safari, FireFox, Opera, and other browsers are capable of quite a few more functions than IE is capable of. Other than complaining to Microsoft, there is nothing you can do to make it better.
Disabling the addons in FireFox solves the mystery of why you couldn’t see the picture here at first.
Technically we shouldn’t be able to display images in comments on WordPress.com at all, so your discovery that the gigya code (brackets) allows them in most browsers is interesting.
Thank you, for confirming that.
I don’t really know what I’m doing….I do like to tinker though…. :)
Oh, me too!
“the answer to life the universe and everything = 42”
But we still don’t really know what we are doing…
Sorry, I won’t go along with this: gigya is not for inserting images, and visitors should not be able to post images (unless you like porn spam).
Yes, of course, you are right: just because one can do a thing, doesn’t mean it should be done. I didn’t consider that earlier today; apology is due
There have been lots of wp.com people looking for a way to have commenters post pictures. One reason given for preventing it is that there is no way to prevent a commenter from posting huge uncompressed files. But this “trick” seems to prevent that.
But the other reason I wasn’t thinking about, the porn spam—well that certainly would not be desirable. And I suppose hot-linking might be an issue as well. It would also be a simple matter for a commenter to post pictures belonging to someone else
Do you think that this is an staff oversight?
Personally, I’ve never seen any porn spam, I don’t see the harm in it within a small group of friends who have private blogs.
I don’t intend to use it anyway, as most of my friends have IE.
Also, as things stand right now, isn’t it possible to post a video in in someone else’s blog comments? Video spam, sounds much worse to me than picture spam. There’s always the delete button of course.
Not that I want to post videos in people’s comment’s.
I do agree that the method I was looking at to post pictures, is not the correct way. Again, it’s pointless to use it, if most people see just a white square. Perhaps WP will allow us to use the correct code in the future,
Another interesting thing with this trick is that you cannot drag to desktop or right-click to copy the image.
Oversight? I don’t think you can prevent a URL from working with a shortcode. But anyway WP ignores gigya.
PS Are you sure you want the image you posted to remain there?
If you’ve never seen porn spam, then maybe you haven’t been blogging that long…
Of course spam is not an issue in private blogs.
Yes, WP allows posting videos in comments, but only from controlled sources such as YouTube.
As you said, relying on the gigya shortcode is pointless. The “correct code” is the HTML code for images, but I don’t think WP will ever allow it for visitors: spamming apart, users who don’t know much about image sizes and theme widths would easily mess your blog and break the theme. So, visitors post links, you turn them into images.
please, yes, can you change the image? or link? or just delete me?
Yep would you delete my image and link too, Panos…Thanks!
I’ve tried to insert [a href] tags into my comment REPLIES but they don’t show up as links in my comments.
I’m using the standard WP comments widget . . . are you perhaps talking about another one?
@Todd: As I told you in my other reply, I’m talking about wp.com blogs: ‘your’ standard WP whatever is not ‘our’ standard WP whatever!
But I find it highly unlikely that link tags don’t work in your comments (unless you’re making some typo with the code). Or are you talking about the comment excerpts in your sidebar?
[Comments removed – P.]
“Test the functions” in your own blog, mr “bold italian” Andreas.
how to show image on a comment like demo comment above?
See under “Images” here:
thanks Panos, ill checkit out
Nice read! Thanks
[Wrong username link removed – P.]