Shantz WordPress Prefix Suffix

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
Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • del.icio.us
  • blogmarks
  • IndianPad
  • StumbleUpon
  • Technorati
  • Facebook
  • Live
  • Reddit
  • Slashdot
  • YahooMyWeb
  • e-mail

Related posts

18 Responses to “Shantz WordPress Prefix Suffix”

  1. Project: shantz-wp-qotd Updated and shantz-wp-prefix-suffix released | My Technophilic Musings Says:

    [...] Shantz WordPress Prefix Suffix [...]

  2. GPSchnyder Says:

    Hi,

    I haven’t installed this jet, but is it possible to do this Prefix/Suffix only for special Categories?

  3. Shantanu Goel Says:

    @GPSchnyder: Not right now, but I might add it to the plugin if I get a few more requests for the same..

  4. Project: shantz-wp-qotd and shantz-wp-prefix-suffix updated | My Technophilic Musings Says:

    [...] Shantz WordPress Prefix Suffix [...]

  5. Kedavix Says:

    Hi Shantanu,

    I was wondering if you could share with me where I could acquire the code to add the social-bookmarking site icons to my blog posts. Also, would it be possible to customize them, as in add/remove certain ones?

    Thanks.

  6. Shantanu Goel Says:

    @Kedavix: I use the plugin “sociable” for this. You can find it at http://wordpress.org/extend/plugins/sociable/ . And yes, it has a loooot of sites and you can choose which ones to display. And I think it’d be easy enough to add new ones if not already present in there..

  7. Kedavix Says:

    Great! I’ve found it. The number of supported sites is waaay more than enough. Thanks. :)

  8. Lars Says:

    Hi
    do you have any idea why I get a

    “Plugin could not be activated because it triggered a fatal error.
    Parse error: syntax error, unexpected ‘{’ in C:\xampplite\htdocs\wordpress\wp-content\plugins\shantz-wp-prefix-suffix\shantz-wp-prefix-suffix.php on line 135″

    when I try to activate the plugin?

  9. Shantanu Goel Says:

    @Lars: oops!! you are correct..Somehow there is a closing brace missing for the “if” condition. I’ll try to release a fixed version in a couple of days when I get time. Meanwhile, you can fix it by opening the shantz-wp-prefix-suffix.php in any text editor. Go to line 135 and add a “)” (without the quotes) before the “{”.
    Thanks for the bug report.

  10. Thom Byxbe Says:

    Currently as of Saturday, April 05 2008 this plugin failed under WordPress 2.5. Will you be updating it to work with 2.5?

    This is the notification WP gave me:

    Plugin could not be activated because it triggered a fatal error.

    Parse error: syntax error, unexpected ‘{’ in /home/thom/citb/wp-content/plugins/shantz-wp-prefix-suffix/shantz-wp-prefix-suffix.php on line 135

  11. Shantanu Goel Says:

    @Thom: The plugin is fully WP2.5 compatible. However, somehow in my last upload a mistake crept into the plugin. I’ll be releasing a fixed version soon. However, meanwhile you can fix it by opening the shantz-wp-prefix-suffix.php in any text editor. Go to line 135 and add a “)” (without the quotes) before the “{”.

  12. Thom Byxbe Says:

    Thank You Shantanu! This fixed the problem - I really like your QOTD plugin and I am looking forward to trying this one out!

  13. Shantanu Goel Says:

    No Problems, Thom. BTW I’ve uploaded the fixed version as well.

  14. Project: shantz-wp-prefix-suffix Updated to 1.0.2 | My Technophilic Musings Says:

    [...] Shantz WordPress Prefix Suffix [...]

  15. Nathan Cain Says:

    Should it add the suffix to old posts to? Why isn’t the suffix showing up on my site?: http://www.web-magnet.com/

  16. Shantanu Goel Says:

    nathan, it will add the suffix to your old posts as well.
    Can you send me a screenshot of your settings?

  17. Shantanu Goel Says:

    nathan, thanks for reporting the bug. I have fixed it. You can download the updated version now.

  18. The Best Blogging Software (WordPress) + The Top 60 WordPress Plugins | Midas Oracle .ORG Says:

    [...] Shantz Wordpress Prefix Suffix 1.0.3 » Shantanu Goel (url) This plugin shall give you the ability to add any text/HTML/CSS code to the beginning or end of your posts and/or pages. Go to shantz-wp-prefix-suffix for updates and support. Also visit my tech site. [...]

Leave a Reply