How to quote someone else’s words in a WordPress comment

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:

About pendantry

Phlyarologist (part-time) and pendant. Campaigner for action against anthropogenic global warming (AGW) and injustice in all its forms. Humanist, atheist, notoftenpist. Wannabe poet, writer and astronaut.
This entry was posted in Communication, Computers and Internet, Education and tagged , , , , , . Bookmark the permalink.

16 Responses to How to quote someone else’s words in a WordPress comment

  1. msjadeli says:

    Good tip. In my editor there is a “quote” button that automatically indents and quotifies.

    Liked by 2 people

  2. Herb says:

    This was interesting. Thanks for sharing it.

    Liked by 1 person

  3. Goldie is the best!

    Who said that?
    Everyone!

    Liked by 1 person

I'd love to hear what your views are!

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.