The Hoof & Paw
DocsCategoriesTagsView the current conditions from the WolfspyreLabs WeatherstationToggle Dark/Light/Auto modeToggle Dark/Light/Auto modeToggle Dark/Light/Auto modeBack to homepage

Blockquote Shortcode

Locally implemented shortcode: blockquote

I found this post1 on how to make fancier blockquotes.

Port of the Octopress blockquote plugin at http://octopress.org/docs/plugins/blockquote/.

It supports author, link, source and title. If title is not provided and link is longer than 32 characters, it is cut at the last forward slash similar to the original plugin.

It can be used as follows (also in tests/wp-test.markdown):

Normal quote:

This is a simple quote.

Quote with author

This is a quote with only an Author named Author2.

Author2

Quote with author and source

This is a quote from Author3 and source "source."

Author3 Source

Quote with author and link

This is a quote from Author4 and links to https://www.google.com.

Quote with author, link and title

This is a quote from Author5 and links to https://www.google.com with title "Google."

Quote with author and a link longer than 32 characters, string is first cut at 32 characters then everything after the last forward slash is removed

This is a quote from Author5 and links to https://twitter.com/CryptoGangsta/status/716427930126196737 which is longer than 32 characters.
<br>And this is a new line in the quote with the HTML br tag.

Test from the Octopress blockquote page at: http://octopress.org/docs/plugins/blockquote/

Over the past 24 hours I've been reflecting on my life & I've realized only one thing. I need a medieval battle axe.

This is managed by the file layouts/shortcodes/blockquote.html