Quotes Collection plugin with Ajax powered Random Quote sidebar widget helps you collect and display your favourite quotes in your WordPress blog.
Quotes can be displayed in a page by placing the shortcode [quotcoll]. This will display all the public quotes ordered by the quote id.
Different attributes can be specified to customize the way the quotes are displayed. Here's the list of attributes:
id (integer)
[quotcoll id=3] displays a single quote, the id of which is 3. If there is no quote with the id 3, nothing is displayed.author (string)
[quotcoll author="Somebody"] displays all quotes authored by 'Somebody'.source (string)
[quotcoll source="Something"] displays all quotes from the source 'Something'.tags (string, comma separated)
[quotcoll tags="tag1"] displays all quotes tagged 'tag1'.[quotcoll tags="tag1, tag2, tag3"] displays quotes tagged 'tag1' or 'tag2' or 'tag3', one or more or all of these.[quotcoll author="Somebody" tags="tag1"] displays quotes authored by 'Somebody' AND tagged 'tag1'.orderby (string)
order (string)
[quotcoll orderby="date_added" order="DESC"] will display all the quotes in the order of date added, latest first and the earliest last.paging (boolean)
limit_per_page (see below).[quotcoll paging=true limit_per_page=30] will introduce paging with maximum of 30 quotes per page.orderby="random" is used, paging is ignored.limit_per_page (integer)
[quotcoll paging=true] will introduce paging with maximum of 10 quotes per page.limit (integer)
[quotcoll orderby="random" limit=1]The quotescollection_quote() template function can be used to display a random quote in places other than sidebar.
Usage: <?php quotescollection_quote('arguments'); ?>
The list of parameters (arguments) that can be passed on to this function:
show_author (boolean)
show_source (boolean)
ajax_refresh (boolean)
random (boolean)
auto_refresh (integer)
<?php quotescollection_quote('auto_refresh=5'); ?> will refresh the quote every 5 seconds. Set the value of auto_refresh to 0 to disable this functionality, which is default.tags (string)
char_limit (integer)
echo (boolean)
Example usage:
<?php quotescollection_quote(); ?>
<?php quotescollection_quote('show_author=0&show_source=1&tags=fun,fav'); ?>
<?php quotescollection_quote('ajax_refresh=0&char_limit=300'); ?>
Versions 1.1 and greater support localization. As of the current version, localization is available in the following languages (code / language / author):
ar / Arabic / Ahmed Alharfibg_BG / Bulgarian / Martin Petrovbs_BA / Bosnian / Vukasin Stojkovby_BY / Belarusian / Ильяcs_CZ / Czech / Josef Ondruchda_DK / Danish / Rune Clausende_DE / German / Tobias Koches_ES / Spanish / Germán L. Martínez (Gershu)fa_IR / Persian / Ehsan SHfi_FI / Finnish / Jussi Ruokomäkifr_FR / French / psykotik, Laurent Naudierhe_IL / Hebrew / Tailor Vijayhi_IN / Hindi / Ashish J.hr_HR / Croatian / 1984dahu_HU / Hungarian / KOOS, Tamasid_ID / Bahasa Indonesia / Kelayangit_IT / Italian / Gianni Diurno (aka gidibao)ja / Japanese / Urepko Asabalt_LT / Lithuanian / Lulilolv_LV / Latvian / Maris Svirkstsnb_NO / Norwegian (Bokmål) / Christian K. Nordtømmenl_NL / Dutch / Kristof Vercruyssenpl_PL / Polish / Marcin Guciapt_BR / Brazilian Portugese / Tzor Morept_PT / Portugese / Djamilo Jacintoru_RU / Russian / Andrew Malarchuksk_SK / Slovak / Stefan Stierankasr_RS / Serbian / Vukasin Stojkovsv_SE / Swedish / Julian Kommunikationta_IN / Tamil / Srinitr_TR / Turkish / Gürkan Güruk_UA / Ukrainian / Staszh_CN / Simplified Chinese / 天毅许You can translate the plugin in your language if it's not done already. The localization template file (quotes-collection.pot) can be found in the 'languages' folder of the plugin. After translating send the localized files to the plugin author so that it's included in the next update. If you are not sure how to go about translating, contact the plugin author.
Requires: 2.8 or higher
Compatible up to: 3.2.1
Last Updated: 2011-8-31
Downloads: 155,221




