Allows the user to create list of quotes and then display either random or specific quote from that list using custom template tags or shortcodes...
Upload the plugin files to the wp-content plugins randomquotr directory, or install the plugin through WordPress plugins screen directly..
Activate the plugin through 'Plugins screen WordPress.
Use Settings->RandomQuotr screen add quotes in the textarea on the left-hand side.
Use the following hooks to display the quotes..
Get random quote * rdqr random quote this will display the text automatically. * $quote = rdqr get random quote this stores the text within variable..
Getting specific quote * rdqr target quote this will display the third quote in the list. * $quote = rdqr get target quote this stores the text within variable...
If you passing in number, non-number, or there are no quotes to get, all of the functions will return null...
Change the 3 to the quote that you want displayed...
Browse the code, check out SVN repository, or subscribe to the development log by RSS...
Read more