Shantz WordPress QOTD
—-
| Download: | shantz-wp-qotd |
|---|---|
| Version: | 1.2.2 |
| Updated: | April 23, 2008 |
| Size: | 8.06 KB |
| Hits: | 394 |
Shantz WP QOTD is a plugin to add quotes to your wordpress blog in a few easy clicks. It adds quotes to your posts and your sidebars with a multitude of options for sources and customization.
== Description ==
There are many quotes plugins out there. This one has been started with a view to have the best of features and options, ease of use and multiple sources to get the quotes from.
Features:
- Add quotes to all your posts automatically.
- Widget support - Can also have a widget in the sidebar for quotes.
- Customize and style your quotes with your own text and tags.
- Multiple sources for quotes (paste in admin page, get from file implemented, fetch from web/rss soon to come)
- Multiple patterns for quotes - Random Quote, Quote of the day (all posts display quote of the day), Quote of that day (all posts display quote for their own days)
- Pattern for widget can be different
- Customization for widget can be different
- Add quotes to top or bottom of posts
- Custom template tag to add quote anywhere you want
- Custom quote boundary decalarator tags/Multiline quote support
- Enable/Disable the quotes without deactivating the plugin
- Option to exclude pages from displaying quotes
Coming Soon:
- Fetch from web/RSS support
- Quotes Categories
- Pics support for quotes
- Anything else you want
- File selection
And more…
== Installation ==
The Shantz-WP-QOTD plugin can be installed in following easy steps:
1. Unzip “shantz-wp-qotd” archive and put all files into your “plugins” folder (/wp-content/plugins/). It is advisable to create a sub directory into the plugins folder, like /wp-content/plugins/shantz-wp-qotd/
2. Activate the plugin
3. Go to Options > Shantz WP Quotes, adjust your settings and save them.
4. For adding and configuring widget to sidebar, go to Presentation > Widgets.
== Frequently Asked Questions ==
= How to add quotes anywhere in the posts/pages? =
Use the tag “<!– shantz-wp-qotd {option} –>” anywhere in your post (without the quotes).
Note:
1. {option} (including the braces) has to be replaced by the quote pattern that you want: qotd, qottd or r. qotd is quote of the day, qottd is quote of that day and r is random.
2. The tag has to be added using the code editor and not the visual editor, otherwise it will replace the <, > with their HTML equivalents.
= How to use the custom separator/multi-line quotes? =
By default, if you leave the custom separator box blank, the plugin uses a newline character as the separator. However, if you have quotes that have multiple lines, you can change this to a tag of your choice, say [quote]. Now, in your quotes file (or quotes pasted in admin panel options) add this tag at the end of each quote and you are done.
= What is the format for saving quotes? =
In text box in admin page, as well as in the file, the quotes have to be saved as one on each line. Each quote is separate by newline.
= Where is the file with quotes located =
For the get from file option, a file “quotes.txt” has to be present in the same directory where shantz-wp-qotd.php is residing. A sample quotes.txt has been given with this plugin (with some quotes from southpark, simpsons, matrix and deus ex)
= I checked the option “exclude pages” but my pages are still displaying quotes =
Check your WordPress version. This option is effective only for Version 2.1 and above
= How to upgrade to a new version =
Simply overwrite the old files with the new ones.
== Screenshots ==
Config Screens and plugin in action:
You can also see the plugin in action right here on my site (check bottom of posts and the right sidebar topmost widget)
== Version History ==
- Version 1.2.2
- Fixed a bug because of which quotes were blank some times. Thanks to Thom for reporting it.
- Version 1.2.1
- Option to exclude pages from displaying quotes is also compatible with wordpress version < 2.1
- Version 1.2.0
- Added option to exclude pages from displaying quotes
- Fixed a bug that quotes source selection checkboxes always remain checked after updating settings.
- Cosmetic: Fixed a few spelling mistakes
- Version 1.1.0.1
- Cosmetic: Changed readme.txt according to wp-extend standards
- Version 1.1.0
- Added Custom tag support for adding quotes anywhere in your posts/pages
- Added Custom quote separator support and multi-line quotes support
- Version 1.0.1
- Fixed some styling related issues in text added before/after quote displayed in widget (especially links related issues)
- Version 1.0.0
- Initial version
—-
If you liked this post, then you can Subscribe to my feed












February 10th, 2008 at 4:30 pm
[...] more details and downloads, go to shantz-wp-qotd. You can also see it in action at the bottom of this post and at the topmost widget in the right [...]
February 17th, 2008 at 9:14 pm
[...] Shantz WordPress QOTD [...]
February 24th, 2008 at 3:14 pm
[...] Shantz WordPress QOTD [...]
February 29th, 2008 at 1:34 pm
[...] Release Page | Download (No Ratings Yet) Loading … Sphere: Related Content [...]
March 4th, 2008 at 2:32 am
Hi sir! Great plug-in.. I want to add this to an ajax tab plugin.. what is the call function of this plugin? thanks alot..
March 5th, 2008 at 9:13 pm
hi, nice plugin but i am waiting for the release which will have RSS support.
Kindly let me know on the given email id once u release that plugin.
thanks
March 10th, 2008 at 1:29 am
vaibhav, rss support will soon be added..i hope i get some time next weekend to do it…
March 15th, 2008 at 10:56 pm
[...] Shantz WordPress QOTD [...]
March 20th, 2008 at 7:23 pm
howdy. love the plugin! can’t wait for the categories and web/rss features. i’m a WP noob and the answer is probably obvious, but how/where do I go to style the text associated with the QOTD text differently than my posts? thank-you.
March 20th, 2008 at 9:42 pm
Dustin, all you need to do for that is use the “text before” and “text after” options. You can insert your html, inline css code there, or wrap it all round in a css class…
March 20th, 2008 at 10:02 pm
Great!!! Thanks Shantanu.
March 21st, 2008 at 5:49 am
[...] Shantz WordPress QOTD | My Technophilic Musings Uncategorized [...]
March 23rd, 2008 at 8:06 am
[...] Shantz Wordpress QOTD 1.2.1 [...]
March 25th, 2008 at 3:15 am
Hello there,
I’m writing because in my blog, when I activate the shants quotd plugin, in Opera, all hell breaks loose, I mean it messes up the whole site, like this:
http://img266.imageshack.us/img266/256/errorod1.png
As you can see, it’s pretty much all messed up when it’s turned on, when off, it looks normal.
I’m using Windows Vista Business with Opera v9.25 installed. However, your site looks fine in Opera with the plugin, so it can be something on my side that’s wrong. Maybe it’s fighting with another plugin. I will try to figure out what it is, but any help would be appreciated.
Thanks in advance,
Ben
March 25th, 2008 at 9:59 am
Hey Ben
The immediate cause of the problem is that the text in the box is not “wrapping” around and is continuing in a straight line, not just for qotd plugin but for all others as well. This causes all the windows to “shift” down. But this is just an effect of something else causing this. Can you tell me the settings that you are using for the quotes plugin. And what all other plugins are u using?
March 25th, 2008 at 12:58 pm
I’m using the default settings, meaning:
- plugin enabled
- quotes are from text area and from file (I didn’t modify quotes.txt yet)
- no separator tag
- Quote of the Day pattern
- Add quotes to post enabled, and to the bottom of the posts
- And the usual QUOTD text before the quote, using italic and bold tags
I’m using several other plugins with the Quotd plugin, but right now all of them are disabled, and just the quotd plugin is running. The plugins are:
- Advanced-Admin-Menus
- Advanced TinyMCE Editor
- AJAX Calendar
- AJAXed Wordpress
- Akismet
- Global Post Password
- Highlight Author Comments
- Login LockDown
- Now Reading
- Paged Comments
- Plugin Updater
- podPress
- Samsarin PHP Widget
- Secure and Accessible PHP Contact Form
- Slimbox Plugin
- WP-Bookwormr
- wp-cache
- WP-DBManager
None of these are enabled right now, just the quoted plugin, and the problem still occurs. I changed my theme to i3Theme Midnight Blue (Center Edition) v1.6, in case there’s something wrong with the theme, but the problem is still the same. I left the plugin enabled for now, you can see the result, if you have Opera. Also, in Firefox, it seems that everything is fine, but the moving of the boxes are too slow, and in IE7, you can only drag the box, not drop it, it won’t come off your cursor.
March 25th, 2008 at 1:45 pm
Ben, I just opened your site in Opera 9.26 on Windows XP. It worked fine for me.See the screenshot of what I got here: http://img2.freeimagehosting.net/uploads/3c8b26c9b1.jpg
What version of opera are you using? and what OS?
March 25th, 2008 at 1:50 pm
I’m using Windows Vista Business Version, and Opera 9.25, but the screenshot you gave is not exactly fine, you can see that the quotd box’s button is up in the right corner, god knows why. Also, if you start refreshing the site, soon it will collapse, I guess it all depends on how long the quote is, but I don’t know that for sure.
March 25th, 2008 at 2:11 pm
hmm, yeah, you are right about the button. Can you try one thing? In the widget’s setting (under presentation->widgets), remove all the text “before” and “after” settings, and try again.
March 25th, 2008 at 2:17 pm
Well, in the widget, there is no after or before text set, but I removed the settings from the plugin’s options, if it’s any help. So, it should have no formatting, just the basic text.
March 25th, 2008 at 2:20 pm
Also, the site collapses into one big vertical “site” when you try to move the quotd’s box around, you’ll see that it will break the layout of the site badly.
March 25th, 2008 at 6:43 pm
All right, I switched the plugin off until I find out what it is, I’m now 80 percent sure that it’s not the plugin’s fault. I will keep you updated in case I solve the mistery. Thanks anyway, and nice plugin, keep working on it
Ben
March 25th, 2008 at 7:39 pm
Well, I disabled the plugin for now, until I find out what causes this one. I wanted to know if the problem was with my site, so I installed XAMPP on my computer, and started a localhost with a fresh wordpress v2.3.3 installed, and just loaded in the theme and the plugin, and it still messes up the site. What version of Wordpress and i3Theme are you using? Because it’s the only difference I can think of right now…
March 25th, 2008 at 11:46 pm
I am using i3theme 1.6 classic.
Don’t know what to suggest to you right now. I even tried loading my local wordpress installations with my plugin (both 2.3.3 and 2.5RC1) in opera but couldn’t see the issue. Will let you know if I find something.
BTW, can it be due to the localization? Do you do anything special for a hungarian language website?
March 26th, 2008 at 11:07 am
Well, last test I did was an original Wordpress v2.3.3 fresh from the net, untouched. The same with the i3theme classic theme, I thought maybe the theme does it, but I don’t know.
It can be due to the localization, although I don’t know what causes this, maybe the php.ini setup is the key, or something I can’t see. Anyway, I’ll try to reach my local wordpress forum, see if they can say something regarding this issue.
March 27th, 2008 at 10:17 am
@Ben: I did some digging around and it seems that this is a known problem with opera (see http://wordpress.org/support/topic/155952 ). Don’t know why its not happening with me. I’ve a workaround in mind. I’ll try to send you a “fixed” build this weekend. Try that out.
April 1st, 2008 at 10:32 am
Love the plugin… but have a few questions and a problem.
First the questions:
Is it possible to have it display anything other than “Random Quote” in the title bar?
Is it possible to have it displayed in reglular font (as opposed to bold)?
Is is possible to have the name of the source appear on a different line?
Now the problem:
It appears as though there is a slight problem n that when the widget is activated, averything on the page after the widget is bolded… almost as if there is an open tag.
Thanks a bunch.
April 1st, 2008 at 11:37 am
@REL:
Answers:
1) Yes, you can change the title by going to widget properties
2) yes, you can change the font by editing the before text and after text options in widget properties
3) For the source to appear on a different line, you have to change the way your quotes are stored. In the plugin properties (options->shantz wp quotes), change the quotes separator to something like [quote] instead of “\n”, then for each quote you can put the source in a new line, and it’ll be displayed like that.
About the “bold” issue, I think either there is a problem with the theme, or you could properly check the widget settings to see if there is some open tag in before text or after text options.
April 2nd, 2008 at 11:32 pm
Thanks for great piece of code and help with it. I will try to stay tuned, because waiting for RSS support and… hm, adding a quote by guests could be nice, but it should support WP forms (I mean it should use the same protection methods - like CAPTCHA - as entire script). And maybe possible another *instantions* of widget? In one I could put positive phrases and in second - bash-like fortunes.
April 3rd, 2008 at 10:45 am
Glad you liked it kozlov.
Good suggestions by the way. I’ll try to keep them in mind. especially about the guest submissions, I’ll see if I can hook up something by using another form plugin (like cforms etc)
April 6th, 2008 at 12:51 am
One more question. Does this plugin add quote text onto my newly-written post (so when I try to edit it, I’ll see my quote), or does it only include text or something else? I wonder what if I disable plugin and try to view my posts.
April 6th, 2008 at 1:26 am
kozlov, the plugin will not modify ur posts. It only adds the quote to it dynamically while it is being retrieved to display..
April 6th, 2008 at 5:18 am
hi, can u give the exact tag for adding random quotes in page, mine’s not working…..
in white, I tried….
Thx
April 6th, 2008 at 5:19 am
hi, can u give the exact tag for adding random quotes in page, mine’s not working…..
//
in white, I tried….
Thx
April 6th, 2008 at 2:35 pm
Varun, there are two ways to do it.
1. Either you can select the type of quotes as “random” in the settings (Settings->Shantz WP Qotd), and also select “add quotes to posts automatically”
2. If you want to add random quotes just on some selected posts or pages, you can write < !– shantz-wp-qotd r – > in the post/page. But:
a. You have to add this code in html mode and not in visual editing mode.
b. Make sure that u remove the extra space between “< " and "!" and also between "-" and ">” in the above example.
April 6th, 2008 at 3:31 pm
Is there any way to force quote changing? Third day I have the same text. Yes, I’ve changed quotes list in QOTD options, but didn’t think this could cause cites repeating.
April 6th, 2008 at 5:51 pm
kozlov,
Can you send me a screenshot of ur settings? Also, pls give me the links where you are seeing this issue.
Moreover, the quotes can repeat only if you use random mode. but then it would change on page refresh anyways (unless you are using caching)
April 6th, 2008 at 6:37 pm
Hi Shantz
Thx for the reply, but I’m using the same thing in the header of my template file. Still not working
April 6th, 2008 at 7:07 pm
Varun, this has to be put in your post/page content, not the header file. If you want to put the quotes into the header etc, you’ll have to call the function directly. e.g., you will have to use
where replace “option” by your choice of quotes pattern (qotd, qottd, r). You can take a look at the readme file to see what these options mean.
April 7th, 2008 at 11:01 am
Same prob Shantanu,
I'm getting this output -->
addQuote(’r’); ?>
on my header...
April 7th, 2008 at 11:03 am
// "addQuote(’r’); ? >"
April 7th, 2008 at 11:12 am
---> addQuote(’r’); ?>
April 7th, 2008 at 1:34 pm
Varun, hmm, It might have to do something with the changed behaviour of how code in plugins is treated on a global scale in WP 2.5. Will try it out myself tonight and will let you know..
April 7th, 2008 at 6:07 pm
Hey Varun, I just tested it. Sorry I made a small mistake in giving out the last code to you. Forgot to "echo" it to actually display something.
Here it is
I've tested it on my home server and it is working perfectly.
April 9th, 2008 at 3:41 pm
Hi,
I just installed your plugin and I like it a lot. It was easy to install and to add quotes. I have one problem - when I added it to my sidebar, I didn't get the uniform styling that comes with my template. Could you take a look?
http://www.lijencina.com
April 9th, 2008 at 7:48 pm
Ljenjivac, Thanks for the bug report.
I took a look at your page and have found the issue. Its because of a different type of markup used by your theme. I'll try to put in a fix tonight or tomorrow. You can check back then.
April 10th, 2008 at 1:18 am
Ljenjivac,I just did some digging and found that the problem is with the theme you are using and not the plugin. So, you'd either need to fix the theme (or ask the theme creator to fix it) or look for a new one. (You can try any widget, that is not built into the theme, and it will show up like that only). The problem is a missing pair of ul tags, because of which the appropriate style is not applied to the body of the widget.
April 10th, 2008 at 2:55 am
When I use the "Select the quotes pattern" and i select "Quote of that day" posts for the current day contain no quote. The do contain the text I put in the "Add the following text before the quote" box.
This can be seen here:
http://www.mikomurk.com
Look at the top posting which I posted today.
April 10th, 2008 at 2:58 am
I thought that you could insert HTML code in the "Add the following text before the quote" box. It took the tag but ignored the tag. Is this a problem with the plug-in or a CSS issue?
April 10th, 2008 at 3:03 am
I thought that you could insert HTML code in the "Add the following text before the quote box. It took the BOLD tag but ignored the FONT tag. Is this a problem with the plug-in or a CSS issue?
Example Below:
<FONT COLOR="RED"><B>Warrior Quote To Live By:</B></FONT>
April 10th, 2008 at 4:20 am
I have discovered that when i select "Quote of that day" randomly posts for SOME days contain no quote.
I have checked my quotes.txt file and it does NOT have any blank lines in it. Any idea why this is happening?
You can view this here:
http://www.mikomurk.com
April 10th, 2008 at 10:05 am
Thom,
1. About the tag issue, this is about your browser. If you check the source of the page, the tags will be there, but "font" is a deprecated tag, so browsers may or may not support it. ("b" is also deprecated, use "strong" to be more compatible, however "b" seems to be supported by most browsers as of now but this could break any time)
2. I'll look into the blank quotes issue this weekend most probably. Thanks for reporting it.
April 10th, 2008 at 10:32 am
Neat plugin! I was looking for one that woud accept the author and source separately from the text of the quote. I'd be interested to see how you implement the categories. I have to hope that they're tag-style, so that each quote can be in multiple categoresi
April 10th, 2008 at 2:11 pm
Thanks Cynthia
..
I'll add the author/source request to my todo list. However, the plugin would be updated after a couple of weeks atleast..Am busy with some other projects right now. Stay tuned
April 11th, 2008 at 12:09 am
Thom, I've fixed the "blank quote" problem. You can download the new version from the above link.
April 11th, 2008 at 2:03 am
[...] Shantz WordPress QOTD [...]
April 23rd, 2008 at 6:36 pm
Tried to download your plugin today but seems to be broken.....
April 23rd, 2008 at 9:28 pm
Gary,
Thanks for letting me know. Seems to be some problem with my download manager while clicking directly. Meanwhile, you can just right click on the link and choose "save as".
April 24th, 2008 at 9:57 pm
Great job Shantanu..Will try this sometime!
April 25th, 2008 at 7:36 pm
Thnx Pooja.. But you’ll have to migrate to a self-hosted wordpress installation to try it
May 1st, 2008 at 3:56 pm
Great plugin.. Thnx alot.. Still having an issue with the plugin showing blank quotes.. I'm using the hard code:
addQuote(’r’);
?>
Thanks again..
May 1st, 2008 at 5:06 pm
@Thom: That's strange. I am quite sure that the blank quotes problem is fixed. Can you send me your quotes file. And the link where you are seeing the issue.
And I hope you are using the code correctly as I mentioned in comment no. 44 above cuz ur code didn't get displayed fully here. Can you use [ code ] [ /code ] tags (without the spaces within the brackets) to post the code u r using here.
May 2nd, 2008 at 6:22 pm
I have got the php code:
In my header.php file.. I am not using a text file..
May 2nd, 2008 at 6:24 pm
Hmmm.. Weird.. I used the [ code ] [ /code ] without spaces but it still wont display the full php code..
May 2nd, 2008 at 6:40 pm
Thom: Sent you an e-mail. Please send your code as reply to that.