This plugin lets you use a widget to place a random quote or testimonial that you have created in your site.
This plugin creates a custom post type called ‘quote’ that allows you to create a set of quotes or testimonials. To create a quote once the plugin is installed, go to the dashboard and underneath posts you should find a post type called “Quotes”. Click Add New and fill out the fields there.
There is a title region for the quote, so you can have control over the URL of the quote, but the title will not be shown. The editor area works like a normal, but the auto p tag has been stripped so that your quotes will fit nicely inside a blockquote tag. If you want breaks or paragraphs inside, you can set these as you will. The quotes are set inside a blockquote tag with no additional CSS, so it uses your theme’s CSS automatically.
Below the editor you will find a post meta-data field: Quote Attribution. This is where you would put who said the quote or testimonial. The attribution sits inside a span tag with a class of “quote-attribution” so that you can style it separately from the blockquote if you desire. If this field is left blank it and the span tag will not show.
To place a randomly generated quote or testimonial on your site, take the widget and move it into a widget area. Set a title for the widget if you want, create some quotes and you are all set.
The quote post type has an archive called quotes, which will use your theme’s default archive page to display its content. This is for your convenience so that you can ensure there are no duplicates.Since there are no categories, if your theme displays a “filed under” the value will be blank.
Your quotes content will be excluded from searches so that your quotes do not interfere with the regular content of your site.
You can see this plugin in action directly below this content in the random quote section. You can download this plugin from GitHub.
Screenshots are also provided with this text.