This page exists as a landing page to support the Insults WordPress plugin. You may find additional information on our blog by searching the insults tag.
The Dickless website (apologies for the poor choice of domain) is nothing but a data source of thousands of insults. Some good... some (read: most) not so much. This post will show you how to access a random insult with us of the Insults WordPress plugin.
The result of this function will render something like this on your website:
You are so boring that you can't even entertain a doubt.
Shortcode Attributes
cache
We cache the quote for one hour by default (3600 seconds). To cache the result for 30 minutes use
cache="1800"
. If the API isn't available for any reason, we wait a defined period before trying again - usually 2 minutes. This can be altered (viatemp
in the shortcode function or in the plugin. You normally shouldn't have to worry about this feature or the API ever being offline.
tags
If you choose to alter the basic style applied to the text, use
tags="strong"
(in this case outputting the text as bold) Each tag must be separated by a comma.
p
To wrap the insult in paragraph tags, use
p="1"
(false by default).
Usage
Insert the shortcode of [insult]
wherever it is you want your quote to be rendered. The first basic example simply outputs a default quote (in paragraph tags). We've used [insult p="1"]
.
You are so boring that you can't even entertain a doubt.
In the second example we'll use strong tags for the the text (in a paragraph). Usage is as follows: [insult p="1" tags="strong"]
.
You are so boring that you can't even entertain a doubt.
In both examples above the quote is wrapped in <blockquote> tags.
Download
Currently not available. Back soon.