My Quote is a free WordPress plugin/widget made by Xhanch Studio to show a random quote with provided predefined quotes or your own collections. The collections of quotes are expandable for sure. We will keep adding more collections to the database.
With this plugin, you can provide useful and worthy knowledge, words and information to your visitor. Else, your website will be more dynamic and more keyword-rich since the content of every pages of your WordPress website will keep changing due to this plugin.
Installation Procedure
- Download and unzip the package.
- Upload/FTP the entire “xhanch-my-quote” directory to your /wp-content/plugins/ directory on your blog
- Activate the plugin on the “Plugins” tab of the administration panel.
- Put “Xhanch – My Quote” widget to a sidebar.
- Open the widget options and put in your details
Widget Settings
Once this plugin installed, My Quote will be listed on your widgets so you can determine where to place it. The widget contain several settings
Settings explanation:
- Title: optional, the title of the widget
- Display Credit: optional, give us a back link
How to Add My Own Quotes?
Hack #1 (Recommended)
- Create a file with extension “.db.php” on your local computer (for example: sample.db.php)
- Fill the file with this default content
<?php
$db = array(
‘quote1′,
‘quote2′,
);
?> - You can add more quotes by adding lines to the middle part so it will look like this
<?php
$db = array(
‘quote1′,
‘quote2′,
‘quote3 new quote’,
‘quote4 new quote’,
);
?> - Save the file
- Upload it to your server into this directory “/wp-content/quote” (you need to create the quote directory first)
- Done!
Hack #2
- You can add your own quotes by using plugin editor.
- From the left admin menus, choose “Plugins” -> “Editor”.
- select the plugin “My Quote” and click “Select” button.
- From the plugin files listed on the right, quotes database files are ended with extension “.db.php”
- Click any of those database files you want to modify (adding, modify or removing quotes)
- Click “Update File” button as you finished editing
Download
Click here to download the latest version of Xhanch – My Quote
Credit
If you want to thank us, you may consider activating the “Display Credit” option or make a donation to us. Thanks!








version – 1.1.5 is released
* Quotes database updated (added quotes from John Mayer)
I have a small problem. I do not wish to use the database that comes with your installs. I have created and uploaded file somename.db.php and wish to use that only. I tried deleting the remaining files and the plugin stopped working. Is it allowed and how do I do it. Thank you
It is mostly caused by your DB file. Can you send your db file via email to admin@xhanch.com so I can take a look and fix it if necessary.
Hi Susanto,
I uploaded the file you edited for me. Still it is not working. I tried it on my local install of wordpress on my notebook, it worked like a piece of cake. But not on the site. Any suggestion what I should be looking at?
I rechecked the file you send me and I found another issue which I think your server requires a stricter PHP commands.
On the bottom line,
)
?>
it should be
);
?>
version – 1.1.6 is released
* All quotes are updated to make it more compatible to any web server
version – 1.1.7 is released
)
* Quotes database updated (added quotes from Jim Morrison and Me
version – 1.1.8 is released
*Quotes database updated (added quotes from Oscar Wilde)
I like this plug-in a lot, but can you give some type of option to not overwrite custom collections?
Each time I update my collections are deleted and replaced with the collections provided by the installer (which are great but not relevant for my site). Some type of option to preserve custom collections would be very valuable.
Thank you
Unfortunately, it is done by wordpress plugin’s updater system so I can’t do anything with it.
I’ll think for a way out for this case.
version – 1.1.9 is released
* Provide a separate directory for your custom quotes databases so it won’t be removed when you upgrade this plugin (Check the above direction).
Where are the directions for a separate directory?
Oops sorry, I did not read the top of page. Got it. Thanks.
version – 1.2.0 is released
*Quotes database updated (added quotes from Thomas Jefferson)
version – 1.2.1 is released
*Quotes database updated (added quotes from Alanis Morissette)
version – 1.2.2 is released
*Quotes database updated (added quotes from Mark Twain)
Please show your ChangeLog info – I like to know what changes have been made to an app BEFORE “Upgrading”.
Thank you – the app works fine!
Well, the complete change logs are posted on comments of this post.
Thanks! Didn’t see it at first.
version – 1.2.3 is released
*Quotes database updated (added quotes from Martin Luther King, Jr.)
version – 1.2.4 is released
*Quotes database updated (added quotes from Frank Zappa)
Hello! I found this plugin very nice and easy to use! Unfortunately I wanted to add my own DB with cyrillic letters. The document is encoded as UTF-8, as well as my website. Sadly, the characters are not shown right and I don’t know where to change something to make it work. Please, can you help me? Thanks in advance!
P.S. I’ve changed only the encoding of the DB file.
Please send me your DB via email to admin@xhanch.com
I’ve renamed one of the db.php files and added a series of quotes. While the others show up when I refresh, I can’t get the new ones in the renamed file to show up. I’ve also tried moving the file to the wp-content/quote/ directory as mentioned in this post but it still won’t bring up my quotes.
Any help would be much appreciated!
Ok so of course all I needed to do was comment here and it worked! So apologies! For anyone else who might re-name an existing file, you need to create the wp-content/quote folder and move the file there for it to work.
version – 1.2.5 is released
*Support quotes with UTF-8 encoding
version – 1.2.6 is released
* Quotes database updated (added quotes from Ralph Waldo Emerson)
How do I include only quotes by certain people ( ie..jefferson, lincoln) rather than the wholw database?
Thanks
Louisa
Just delete the files of quotes that you don’t want in “db” folder
version – 1.2.7 is released
* Quotes database updated (added quotes from Tom Petty)