WP-Utterquotes

If you like to display Quotes — as everybody loves to — here is a very nice plugin from the “jwurster”.I would like to address this nice piece of work, as 4–in-1 — i.e. because, it manages “the 4 categories of quotes” (Simpsons, Witty, Bushisms and General). Thus eliminating, the installation of 4 different plugins. Installation Instructions: […]

If you like to display Quotes — as everybody loves to — here is a very nice plugin from the “jwurster”.I would like to address this nice piece of work, as 4–in-1 — i.e. because, it manages “the 4 categories of quotes” (Simpsons, Witty, Bushisms and General). Thus eliminating, the installation of 4 different plugins.

Installation Instructions:

  1. Download: version 1.0.0 here
  2. Extract all the files and folders from the archive to a folder on your desktop.
  3. Create a folder called wp-utterquotes and move the “image directory” inside it.
  4. FTP you site and Copy “wp-utterquotes” to  your wp-content/plugins/ directory.
  5. Copy the wp-utterquotes.php  file to your wp-content/plugins/ directory.
  6. Copy the edit-utterquotes.php file to the wp-admin/ directory.
  7. Copy all *.CSV and insert_*.php files to your wp-content/ directory.
  8. Go to the Plugins section of your WordPress admin, and activate the plugin.
  9. Go to the Manage section, and click on “UtterQuotes.” It will create the database and would by default add a few quotes to get you started.

Now you have to decide where to stick your quotes, and modify the theme file to do it. Here’s an example for putting the quote in the sidebar like you see on this site:
(A) In your admin interface, go to the Presentation tab, then click on Theme Editor
(B) Click on the Sidebar Template link on the right hand side.
(C) Find out where you want to stick your quotes in the code, create a heading for it, then insert the following:
<?php wp_utterquotes_random(); ?>

Graphical representation of Files Structure:

wp-content/plugins/
|__wp-utterquotes.php
|___wp-utterquotes/
        |__ images/
wp-content/
|__insert_xxx_quotes.php
|__xxx.csv
wp-admin/
|__edit-utterquotes.php

or open sidebar.php in your favorite editor and add the above code and upload the file to your site.

1. Once all is set, you can run insert_*.php, for e.g. insert_simpsons_quotes.php file from your browser window, this will import all Quotes SimpsonsQuotes.csv file.
2. Same way you can run other files to import rest of the Quotes into Database. 3. Once you complete, delete all *.CSV and insert_*.php files from wp-content/ directory. 4. Note: Once the import from a file is successfull, don't run that file again, else you will get duplicate Quotes. In that case, you will have to manually delete all duplicate Quotes.

In addition, if you have an image file in the images folder (and you have correctly copied this folder, as directed above) by the same name as the author, the image will be displayed next to the author’s name.

This plugin supports CSS, you can enter the following CSS code in your Style.CSS file. #wp_utterquotes { margin-left: 10px; }div.wp_utterquotes_quote { }div.wp_utterquotes_category { }div.wp_utterquotes_author { text-align:right; font-style: italic; margin-top: 5px; }div.wp_utterquotepage { font-size: 14px; width: 80%; margin-left: 40px; }div.wp_utterquotepage_category { }div.wp_utterquotepage_quote { }div.wp_utterquotepage_author { margin-left: 40px; font-style: italic; }hr.wp_utterquotepage_hr { width: 70%; margin-top: 15px; margin-bottom: 15px; margin-left: 15px; }div.wputterquotes_poweredby { text-align: center; font-size: 0.8em; margin-top: 12px; }

For more information on API's, please read carefully, accompying read.txt file.

WP-Utterquotes, Simpson, Witty, Bushisms and General, Quotes