A couple of people (Sam “Goldie” Kirk and… someone else, whose comment I’m unfortunately unable to find) have asked me how I quote others’ words in WordPress comments, so I thought I’d pen a quick blogette about it.
For many years now, WordPress has allowed some HTML in comments — other systems often strip such code out to avoid abuse. To quote someone else’s words, one uses the blockquote HTML element. This is very simple to do: you start with the element’s ‘opening tag’ (‘<blockquote>’), and end the quote with the ‘ending tag’ (‘</blockquote>’), like this:
<blockquote>
The more they overthink the plumbing,
the easier it is to stop up the drain.
</blockquote>
The result would look something like this:
The more they overthink the plumbing, the easier it is to stop up the drain.
Note that the ‘ending tag’ begins with ‘</’. If you forget that forward slash symbol (as I often do!) the element isn’t closed, and everything from then on will be treated as a quote… and as site visitors can’t edit their own comments here in WordPress, it’s wise to double-check you’ve got everything right before hitting ‘send’.
If that’s interesting to you, you might also like these two posts of mine:
- How to embed links in WordPress comments (also check out the discussion with Esme in the comments on that post, about embedding images and video in comments, that may be interesting, if very confusing)
- How to add mouseover tooltips to links in WordPress
Good tip. In my editor there is a “quote” button that automatically indents and quotifies.
LikeLiked by 2 people
Ah, yes, in the editor there’s a ‘quote’ block. But you can’t use that in comments, can you? :P
LikeLiked by 1 person
oh dear, no, Thank you, and sorry for the flub. I will test this out.
LikeLiked by 1 person
testing testing
LikeLiked by 1 person
very cool!!!!! Thanks again for this awesome tip.
LikeLiked by 1 person
Huzzah! :D
LikeLiked by 1 person
:)
LikeLiked by 1 person
LikeLiked by 1 person
You’re welcome, Herb. I see you’ve mastered the technique — although you’re supposed to use it to quote the words of others… ;)
Thanks for dropping by!
LikeLiked by 2 people
Well…I was just taken by my own charm and wit and thought I was just so quotable. Of course, I was the only one…
LikeLiked by 1 person
Not so!
LikeLiked by 1 person
lol!
LikeLiked by 1 person
Thanks for the tips.
LikeLiked by 1 person
My pleasure! Thanks for dropping by! :)
LikeLiked by 1 person
Who said that?
LikeLiked by 1 person
👍
LikeLiked by 1 person
Thank you for this excellent post, Mr Spock!
Stay safe,
-Shira
LikeLiked by 1 person
/em raises an eyebrow
LikeLiked by 1 person
:-)
LikeLiked by 1 person
Pingback: Let’s Get Inspired by pendantry of the blog called Wibble – Part 1 of 2 – ThoughtsnLifeBlog
Thank you very much !
LikeLiked by 1 person
You are most welcome.
LikeLike