Australia's Leading Digital Marketing Experts. T. 1300 235 433  |  Aggreagtion Enquires Welcome

Aviation Quotes

This page exists as a landing page to support the Quotes WordPress plugin. You may find additional information on our blog by searching the quotes Tag: quotes tag.

The aviation quotes database was built to support a need on our FLIGHT website. The database is updated manually and via automated means on a daily basis - so it's always growing.

The result of this function will render something like this on your website:

"“Any young boy can nowadays explain human flight - mechanistically: "... and to climb you shove the throttle all the way forward and pull back just a little on the stick... " One might as well explain music by saying that the further over to the right you hit the piano the higher it will sound. The makings of a flight are not in the levers, wheels, and pedals but in the nervous system of the pilot: physical sensations, bits of textbook, deep-rooted instincts, burnt-child memories of trouble aloft, hangar talk.” -- Wolfgang Langewiesche, 'A Flyer's World.'"

Because we're retrieving two individual attributes (text and author) from the XML, it's easy to style the quote in a manner that's most fitting.

Shortcode Attributes

cache

We cache the quote for one hour by default (3600 seconds). To cache the result for 30 minutes use cache="1800".

sep

By default we'll use two hyphens between the quote text and the attribution. To alter, use something like sep="::".

tags

If you choose to alter the basic style applied to the attribution text, use tags="em" (in this case outputting the attribution in italics without the < or >) Each tag must be separated by a comma. If there's no attribution supplied nothing will be displayed.

p

To wrap the quote in paragraph tags, use p="1" (false by default).

Usage

Insert the shortcode of [aviationquote] wherever it is you want your quote to be rendered. Note that the attribution text will only render if it exists.

The first basic example simply outputs a default quote (in paragraph tags). We've used [aviationquote p="1"].

“Any young boy can nowadays explain human flight - mechanistically: "... and to climb you shove the throttle all the way forward and pull back just a little on the stick... " One might as well explain music by saying that the further over to the right you hit the piano the higher it will sound. The makings of a flight are not in the levers, wheels, and pedals but in the nervous system of the pilot: physical sensations, bits of textbook, deep-rooted instincts, burnt-child memories of trouble aloft, hangar talk.” -- Wolfgang Langewiesche, 'A Flyer's World.'

In the second example we'll use bold and italic tags for the attribution (in paragraph). Usage is as follows: [aviationquote p="1" tags="strong,em"].

“Any young boy can nowadays explain human flight - mechanistically: "... and to climb you shove the throttle all the way forward and pull back just a little on the stick... " One might as well explain music by saying that the further over to the right you hit the piano the higher it will sound. The makings of a flight are not in the levers, wheels, and pedals but in the nervous system of the pilot: physical sensations, bits of textbook, deep-rooted instincts, burnt-child memories of trouble aloft, hangar talk.” -- Wolfgang Langewiesche, 'A Flyer's World.'

 

In the final example we'll use bold tags for the attribution (in paragraph), and use a single long dash as the separator between the text and attribution. Usage is as follows: [aviationquote p="1" tags="strong" sep="—"].

“Any young boy can nowadays explain human flight - mechanistically: "... and to climb you shove the throttle all the way forward and pull back just a little on the stick... " One might as well explain music by saying that the further over to the right you hit the piano the higher it will sound. The makings of a flight are not in the levers, wheels, and pedals but in the nervous system of the pilot: physical sensations, bits of textbook, deep-rooted instincts, burnt-child memories of trouble aloft, hangar talk.” — Wolfgang Langewiesche, 'A Flyer's World.'

In second and third examples above the quote is wrapped in <blockquote> tags.

Plugin Title: Aviation Quotes
Description: Display an aviation quote in your WordPress website with shortcode.
Download (downloaded times) | Plugin Page