Feb 24
My Sites: My Blog | My Tech Blog | Follow me on Twitter
—-

I updated my wordpress plugin “shantz-wp-qotd” (A feature rich, customizable wordpress quotes plugin) today to version 1.2.0. The new version has the following changes:

  • 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 :)

Screenshot-1   Screenshot-2  Screenshot-3

Go here for more details and downloads.

Also, I made a quicky little plugin “shantz-wp-prefix-suffix” for my personal use, and then decided to release it. This plugin will basically allow you to add any text or HTML/CSS code to the beginning and/or end of your posts and/or your pages. Visit this page for details and downloads.

Screenshot-1   Screenshot-2


—-
If you liked this post, then you can Subscribe to my feed
Quote of the day: “There’s a time and a place for everything, and it’s called college.” — Chef

written by Shantanu Goel \\ tags: , , , , ,

Feb 24
My Sites: My Blog | My Tech Blog | Follow me on Twitter
—-

download

Download: shantz-wp-prefix-suffix
Version: 1.0.3
Updated: April 23, 2008
Size: 3.75 KB
Hits: 67

Shantz WP Prefix Suffix is a light plugin to quickly add text/htm/css before and/or after your posts and/or pages.

== Description ==

Shantz WP Prefix Suffix is a light-weight and easy to use plugin which allows you to add any text and/or HTML/CSS code to your posts and/or pages as prefix and/or suffix.

Features:

  • Add Prefix to all your posts automatically.
  • Add Prefix to all your pages automatically.
  • Add Suffix to all your posts automatically.
  • Add Suffix to all your pages automatically.
  • Prefix/Suffix can be plain text, HTML, CSS etc.

== Installation ==

The shantz-wp-prefix-suffix plugin can be installed in following easy steps:

1. Unzip “shantz-wp-prefix-suffix” 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-prefix-suffix/

2. Activate the plugin

3. Go to Options > Shantz WP Prefix Suffix, adjust your settings and save them.

== Frequently Asked Questions ==

= I unchecked the option “Add to pages/posts” but my pages/posts are still displaying prefix/suffix =
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.

= My question isn’t listed here =
Post a comment here, or contact me through the contact page.

== Screenshots ==

Screenshot-1 Screenshot-2

1. Config Screen
2. Plugin in action

You can also see the plugin in action on this site on any post (The “Read: my sites” links at top of each post)

== Version History ==

  • Version 1.0.3
    • Fixed a bug that was causing prefix-suffix to not display under certain conditions
  • Version 1.0.2
    • Fixed a typo that was causing errors while activating the plugin
  • Version 1.0.1
    • Options to not display the prefix/suffix on pages also works for WP < 2.1
  • Version 1.0.0
    • Initial version

—-
If you liked this post, then you can Subscribe to my feed

written by Shantanu Goel \\ tags: , , , ,

Feb 17
My Sites: My Blog | My Tech Blog | Follow me on Twitter
—-

For the uninitiated:

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.

I made a few additions / modifications to the code and the plugin has been updated to 1.1.0. The changes are:

  • Added Custom tag support for adding quotes anywhere in your posts/pages
  • Added Custom quote separator support and multi-line quotes support

Config Screenshots:

Screenshot1 Screenshot2 Screenshot3

I recommend that you update to this new version asap, as apart from the above mentioned changes, the code is a bit more cleaner as well, which would run a bit better IMO and also help in any modification if you have in mind. For full details and downloads, go to shantz-wp-qotd page.


—-
If you liked this post, then you can Subscribe to my feed
Quote of the day: “I was going to buy a copy of The Power of Positive Thinking, and then I thought: What the hell good would that do?”

written by Shantanu Goel \\ tags: , , , , , , , , , , , , , , ,

Feb 10
My Sites: My Blog | My Tech Blog | Follow me on Twitter
—-

Motivated by Ronald’s ultimate wordpress plugin tutorial at devlounge, I decided that the best way to learn something is to use it in a live project. Armed with my laptop and multiple flasks of coffee, the marathon began on Friday night. My only experience with web-related development so far had been around 8–10 years ago as a kid when, just like everybody else at that time, I was fascinated by HTML and did a “read-through” of HTML 4.0. But I have always been a believer of the theory that a C programmer can program in any language quickly without having to go through the whole manuals. Thus that night bore fruit for me, and by 5:30 in the morning I had a working “Quote of The Day” plugin at my hand with all the features I wanted it to have in its first avatar. Did a bit of polishing last night, fixed a few bugs, and created a readme, and here it is, Mr. shantz-wp-qotd “1.0”, in all its glory, ready for general consumption.

Features at a glance:

Continue reading »


—-
If you liked this post, then you can Subscribe to my feed
Quote of the day: “You can’t fight ideas with bullets.” - Leo Gold

written by Shantanu Goel \\ tags: , , , , , , , , ,

Feb 10
My Sites: My Blog | My Tech Blog | Follow me on Twitter
—-

download

Download: shantz-wp-qotd
Version: 1.2.2
Updated: April 23, 2008
Size: 8.06 KB
Hits: 435

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:

Screenshot-1 Screenshot-2 Screenshot-3

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

written by Shantanu Goel \\ tags: , , , , , , , , , , ,