Skip to content

Quotes Collection

Latest version: 1.4 .2 (Updated on 24 June 2010)
Features | Screenshots | Download | Localization | Feedback & Support | Donate


Quotes Collection plugin with Ajax powered Random Quote sidebar widget helps you collect, manage and display your favourite quotations on your WordPress blog. All quotes or a set of quotes can also be displayed on a page using a [quote] shortcode. The plugin is similar, and uses ideas from (though not based on) the old wp quotes plugin by Dustin Barnes.

Features

  • Random Quote sidebar widget with Ajax refresh feature — you will be able to get another random quote on the same space without refreshing the web page. Following is the list of options in the widget control panel:
    • Widget title
    • Option to show/hide quote author
    • Option to show/hide quote source
    • Turn on/off the ajax refresh feature
    • Choose random or sequential order for refresh
    • Option to refresh the quote automatically
    • Show only quotes with certain tags
    • Specify a character limit and filter out bigger quotes
  • The template function quotescollection_quote() can be used to display a random quote in places other than sidebar. Click here for details about the parameters that can be passed on to this function.
  • Quotes can be displayed in a page by placing a shortcode such as the ones below.
    • Placing [quote|all] in the page displays all quotes.
    • [quote|author=Somebody] displays quotes authored by Somebody.
    • [quote|source=Something] displays quotes with source as ‘Something’
    • [quote|tags=sometag] displays quotes tagged sometag
    • [quote|tags=tag1,tag2,tag3] displays quotes tagged tag1 or tag2 or tag3, one or more or all of these
    • [quote|id=3] displays quote with ID 3
    • [quote|random] displays a random quote
  • The plugin comes with a nice admin interface to add, edit and manage quotes.
  • The plugin is compatible with WP 3.0 multi-site functionality.

Screenshots

Click on the thumbnail for the larger image.

You can find a live demo of the ‘Random Quote’ widget at the sidebar here!

Download

The latest version of the plugin can be downloaded from the WordPress plugin repository. (changelog)

Released for free under the GPL.

Please make a donation and support development. Any amount accepted with thanks.


Localization

Versions 1.1 and greater support localization. As of the latest version, localization is available in the following languages.

Code Language Translator
ar Arabic Ahmed Alharfi
bg_BG Bulgarian Martin Petrov
bs_BA Bosnian Vukasin Stojkov
by_BY Belarusian Илья
cs_CZ Czech Josef Ondruch
da_DK Danish Rune Clausen
de_DE German Tobias Koch
es_ES Spanish Germán L. Martínez (Gershu)
fa_IR Persian Ehsan SH
fi_FI Finnish Jussi Ruokomäki
fr_FR French psykotik
hi_IN Hindi Ashish J.
hr_HR Croatian 1984da
hu_HU Hungarian KOOS, Tamas
it_IT Italian Gianni Diurno (aka gidibao)
ja Japanese Urepko Asaba
lt_LT Lithuanian Lulilo
lv_LV Latvian Maris Svirksts
nl_NL Dutch Kristof Vercruyssen
pl_PL Polish Marcin Gucia
pt_BR Brazilian Portugese Tzor More
pt_PT Portugese Djamilo Jacinto
ru_RU Russian Andrew Malarchuk
sr_RS Serbian Vukasin Stojkov
sv_SE Swedish Julian Kommunikation
ta_IN Tamil Srini
tr_TR Turkish Gürkan Gür
uk_UA Ukrainian Stas
zh_CN Simplified Chinese 天毅许

If you can translate the plugin in your language, please do, and please send me the localized file so that I can add to the next version of the plugin. The localization template file (quotes-collection.pot) can be found in the ‘languages’ folder of the plugin. If you want to translate the plugin in your language, but are not sure how to go about doing it, contact me, I’ll help you out.

Feedback & Support

Bug reports, feature requests, suggestions, appreciation, criticism, all feedback welcome.

Please read the FAQ, all comments here and the forum posts at WP support forum before asking a question.

Posting your question or support request at the WordPress support forum is highly encouraged as that is the place where you are more likely to get a quicker response. If you don’t get a satisfactory answer there, you can post a comment here, or contact Srini, the plugin author.

Have fun :)

618 Comments

  1. Anton says:

    RC, take a look at http://srinig.com/wordpress/plugins/quotes-collection/comment-page-43/#comment-21752

    Srini, after testing your plugin I have some questons.
    It always includes javascript file link to WP-generated HTML header — even when i have only one one widget with AJAX disabled. It’s waste of bandwidth. Could it be disabled?

    Also, could your default CSS template be disabled? I now, i could delete it from plugin folder or edit it there, but I think it will re-appear on next plugin upgrade.

    • Srini says:

      Anton, thanks for the suggestions. I’ll look for ways to not include the javascript file when it’s not needed. Also, I think there should be an easier and better way to customize CSS than editing a CSS file, will look into that too. Thanks.

  2. Casemon says:

    Posted some praise and a few questions on the WP site:

    http://wordpress.org/support/topic/338739?replies=1#post-1304636

    Any ideas?

    Thanks for this cool plugin!

  3. Pablo says:

    First I’d like to say that your plugin is excellent!

    I was wondering if you could help with an intermittent error that I am experiencing on a site that I am developing. I implemented a javascript timer that calls quotescollection_refresh() every 8 seconds. It seems that if you try to navigate from the page (or even just refresh) while the function quotescollection_refresh() is executing, you get an alert pop up with the error message: “error: 0 undefined”.

    Any idea why this happens and how to prevent it? By the way, I visited a site that a previous person put in a comment on this page (http://web61509.aiso.net) and that site seems to have the same error when I click on next quote.

    Your help would be greatly appreciated!

    • Srini says:

      It’s probably because the ajax request is aborted half way when you try to navigate away from the page, and the plugin doesn’t handle this situation gracefully. This has nothing to do with your timer as this happens with any site. You can check right here on the sidebar towards the bottom, click ‘Next quote’ and hit F5 and the error pops up. Thanks for notifying me about this, I’ll fix this as soon as possible.

      http://web61509.aiso.net/ seems to have a different issue, but I am clueless as to what happens there.

  4. Mat says:

    Can this plugin support multiple instances? I’ve been trying to code it to do so, but am not having much luck.

    • Srini says:

      I’ve still not added support for multiple instances of the widget for different reasons. Though, you can try calling the template function quotescollection_quote() multiple times. I think there are also other quotes plugins for WP that support multiple instances of the widget you can try.

  5. Geoff says:

    Hello,

    Great plugin! I was wondering if it is possible to change the quote to be sequential when the next quote button is clicked instead of random. What I mean by this is I want to have all the quotes in the database displayed before repeats are displayed. Currently if the next quote is clicked the same quote could come up right after or two after etc. I would like to have it so it would never show the same quote until all are shown. Sorry do you follow me?

    Thanks!

  6. This plugin is great, I may use it for my blog, I enjoy quotes and I posted them on my blog on a regular basis.

    Here is one of my favorite quotes by Winston Churchill

    “The greatest lesson in life is to know that even fools are right sometimes.”

  7. Will says:

    Thanks for the excellent plugin. For some reason, it does not format hyperlinks correctly in the quote. How do I do this?

  8. Tibor says:

    Thanks for the excellent plugin!
    Only one comment: it would be nice to export quotes to xml file, and you can import it back. For example site maintenance etc…

  9. Shane says:

    Is it possible to create a page that lists all of the quotes, but groups them together by author/source? Thanks!

  10. [...] einen neuen Ansatz zu geben, druch die Texte zu stöbern. Umgesetzt habe ich das mit dem Plugin Quotes Collection, wobei einige Änderungen nötig waren. Nun müssen nicht Titelüberschriften gelesen werden, [...]

Leave a Reply