Add random quotes with image to your Wordpress blog with this widget.
XmasB Quotes lets you add and show randow quotes to your wordpress blog with ease. It uses the db to store quotes.
You can specify an image for each quote, deafult image for quotes, or disable images.
Now with the option to use quotes as links!
Please rate this plugin if you like it!
For support and questions please visit the plugin page
XmasB Quotes is available in the following languages:
For support and questions please visit the plugin page
Install XmasB Quotes directly from the WordPress admin:
1. Visit the Plugins/Add New page and search for ‘XmasB Quotes’.
1. Click to install.
1. Activate the plugin
1. Add the widget to your sidebar.
Manually:
1. Download and unzip the plugin from ‘https://wordpress.org/extend/plugins/xmasb-quotes/’.
1. Upload directory xmasb_quotes
to the /wp-content/plugins/
directory
1. Activate the plugin
1. Add the widget to your sidebar.
By deault the plugin looks for an image in the folder named “images” with a name that matches the author, eg. if the author is “Bart”, the plugin will look for “bart.gif”. If an image is found it is used, else the quotes is shown without an image or default image if specified.
Add, edit and delete quotes under Edit – XmasB Quotes.
The options for each quote:
Quote – The actual quote.
Author – The author of the quote. This is optional.
Image – The image to be used. If left blank, the name of the author will be used to search for an image.
Visible – Set this to “No” if you want to hide a quote without deleting it.
Set more general options in the XmasB quotes page under Options in your dashboard.
Options available:
Show Images – Uncheck this to disable images.
Default image – If specified this image will be used if no image is found for author or specified image for quote. If extension for default image is not specified, the plugin looks for png, jpg, jpeg and gif images, in that order.
Show link to author – Shows a link to XmasB.com and my plugin in the widget. Turn off if you want to.
The title for the widget can be edited directly in the Widget:
Title – The title to show with the Widget. Default is XmasB Quotes.
There is a shortcut for adding quotes almost anywhere you want: “[XmasBRandomQuote]”.
Take a look at the FAQ if you have any questions, or check out the infopage on XmasB.com.. Most questions are solved in the comment section.
The plugin is used on my homepage XmasB.com.
You sure can! Just insert the url you would like the quote to link to when adding/editing your quotes.
Absolutely! Just visit the plugin page and click on the button “Donate”. Thanks a lot!
Removed unused code that was causing problems for some users with older versions of PHP.
Added an option for controlling who can manage quotes.
Tested and confirmed working on WordPress version 3.2.1. (and development version (3.3-aortic-dissection))
Minor edits in readme to ease installation for new users.
Swedish translation added thanks to Rabatt.
Bugfix for default image not apperaring.
Minor update. Fixed an unclosed php tag. Tested and confirmed working with WordPress 3.0.4 and 3.2-bleeding.
Tested and confirmed working on newest WordPress version (3.0.2).
Italian translation updated. Thanks again gidibao.
POT file used for translating updated from source. Updated other translation files where I could.
Image search is now case insensitive. Images with the same name as author (of type png, jpg, jpeg or gif) or a version without spaces and punctuation will be found.
Added spanish translation by Carlos. Thanks, Carlos!
Images will now load for author with or without whitespaces. Example: A quote by Bart Simpson will now load image “BartSimpson.jpg” or “Bart Simpson.jpg”. It will search without whitespaces first. Author and image must have same case. Will probably make search for image case insensitive soon (most of the code is in place for this now).
Cleaned up some code for easier reading and future versions.
Dutch translation added thanks to Rene @ WordPress Webshop.
Changed head inclusion method of stylesheets and script. Stylesheet is loaded on all pages, while script is only loaded on admin pages.
Fixed a bug where default image would not show. Improved logic for finding images.
Cleaned up old code.
Changed the priority of picture types. The order is now png > jpg > gif. Changed included pictures to png format.
Images should now work even if WordPress is installed in another directory than wp-content.
Fixed bugs with occuring slashes when editing quotes with special characters.
Included sample CSS and made changes to default CSS. Future changes on the stylesheet (CSS) will only be made to the sample file.
You can now optionally use links for the quotes. Because of a change in the database table, you will need to reactivate the plugin for the new changes to take effect.
Fixed problem with apostrophes in quotes.
Version 1.3.4.
Translation to french thanks to Farida (French)
Version 1.3.3.
Fixed some typos. Tested and working on newest WordPress version (2.9.2).
Preparing for version 1.4.
Version 1.3.2.
Translation to Belorussian thanks to Fat Cow.
Version 1.3.1.
Tested on WordPress 2.8.3. Minor (cosmetic) fix on code.
Version 1.3.
Removed link to xmasb.com from the Widget.
Version 1.2.8.
German translation should be fixed. Fingers crossed… 🙂
Version 1.2.7.
Added german translation. Thanks to Alariel (German).
Bug introduced in version 1.2.5 caused me to revert the code. Temporary fix. Will add new version with code from Derek soon.
Added functions to be able to pass a variable with how many random quotes you’d like to display. Thanks to Derek for the code and idea.
Updated italian translation. Thanks to Gianni Diurno (aka gidibao). Link: gidibao’s Cafe (Italian).
Added russian translation. Thanks to Flector at WordPressPlugins.ru (Russian).
Minor bug fix.
New sql query for retreiving random quote faster on large databases. The new query has been tested to be 600% faster on a database containing about 15k quotes.
Added support for jpg and png images, in addition to gif.
Norwegian translation updated.
Added italian translation. Thanks to Gianni Diurno (aka gidibao) for the translation. Link: gidibao’s Cafe (Italian).
More features coming. Future plans include:
Added translation support and norwegian translation. Thanks to Kristin, for the much needed code and the translation.
Link: Kristin: blogg (Norwegian).
Fixed bug that caused problems for some mysql versions. Default values for table has been removed.
Thanks to Don for the tip.
Added support for tags with attributes to be added before and after the code via “Options – XmasB Quotes”. Thanks to Stephanie for the tip.
Fixed bug introduced with WordPress 2.5 that caused the prefix to be dropped when creating the quote table.
Minor bugfix. Testet with WordPress version 2.3.3.
Text/code to be used before and after author is now fixed.
Minor adjustment to the layout for editing quotes.
The plugin now checks for existing quotes when adding. A quote can not be added with the same author more than once. You can add the same quote with different authors.
Exsisting duplicates for quotes can be seen in the page for editing. You can edit or delete from the list.
Fixed bug when deleting quote from main form.
Version 1.0 released.
Fixed several bugs.
New design for managing quotes and options.
Tested at many sites with positive feedback.
Fixed a minor bug that caused “Visibility” being set to false after edit.
Fixed a bug with the Edit page that caused the quotes to be shown wrongly.
Fixed a spelling error in the .css that caused the not visible quotes to be shown wrongly in the Edit page.
Added support for managing code around image, quote and author.
Redesigned the entire code for easier updates in the future.
Separated options from Widget. Option for the plugin can now be found under WordPress-Options. The title for the Widget is still set on the Widget.
Minor bugfix. Added centering in css. Adjustments to readme.txt.
Removed version checking of table. The plugin uses the dbDelta() function to handle any potential future changes to the table.
Fixed bug when creating table and adding quotes for the first time.
Added content to css file.
Support for images added. You can now specify an image for each quote, use default image or turn images off.
Under development.