Quick fix to get Simple Tags plugin working with WordPress 2.9+

Note: There’s a new version of Simple Tags that works with WP 2.9.1 so no need for this hack anymore.

If you’re using the Simple Tags plugin, you might be holding off on upgrading to WordPress 2.9.1 because this plugin is only Compatible up to: 2.8.

Well, turns out the plugin does actually seem to work with WP 2.9.x — but you have to make a quick edit to the plugin file itself. Now, normally i’m not a fan of hacking plugin files to get things working because your changes would be lost with each new release. But, in this case, i figured that when the author does decide to release an update, i would be ok with losing these changes because they would no longer be necessary anyway.

Note: if you’re not comfortable editing plugin files directly (although this edit is really easy), then maybe you should wait until the author releases an official update. Otherwise, i’ve included the bit of code here for reference.

To get Simple Tags working with WP 2.9+

1) Open simple-tags.php and find the line:

if ( strpos($wp_version, '2.7') !== false || strpos($wp_version, '2.8') !== false ) {

2) Change that to:

if ( strpos($wp_version, '2.7') !== false || strpos($wp_version, '2.8') !== false || strpos($wp_version, '2.9') !== false ) {

That’s right, it’s just a matter of adding the additional condition which allows WP version 2.9 to work.

As always, be sure to backup and test this fix on your own site before going live.

This fix was found / documented here:
- http://www.wordpress-fr.net/support/viewtopic.php?pid=173448#p173448
- http://www.herewithme.fr/simple-tags-et-wordpress-2-8#comment-34072

Comments 25

  1. Yael K. Miller wrote:

    This code produces an error because of the quotation marks. The below works.

    if ( strpos($wp_version, '2.7') !== false || strpos($wp_version, '2.8') !== false || strpos($wp_version, '2.9') !== false ) {

    Posted 05 Jan 2010 at 8:04 pm
  2. Yael K. Miller wrote:

    Oops, the curly quotes got put in automatically. They should be straight quotes.

    Posted 05 Jan 2010 at 8:04 pm
  3. elran wrote:

    yes, it’s true.. watch out for the curly quotes (if copy/pasting this code)

    Posted 05 Jan 2010 at 8:49 pm
  4. elran wrote:

    ok, i’ve fixed the issue. it seems an old plugin was causing all my code bits to have curly quotes which created problems for people when copy/pasting the content.

    anyway, i’ve disabled the plugin in question and now the curly quotes have returned to normal quotes which are safe for copy/pasting.

    Posted 05 Jan 2010 at 10:19 pm
  5. elran wrote:

    looks like there’s a new version of Simple Tags that seems to work fine with WP 2.9.1 so no need for this hack anymore.

    Posted 13 Jan 2010 at 5:06 pm
  6. Card blog admin wrote:

    I am having the card site made of wordpress.

    i used simple tags version which was updated for wordpress 2.9, but still the previous version was better than the updated version.

    thanks for this code which i used for updating the previous version and it is working fine!

    Posted 25 Feb 2010 at 8:50 pm
  7. xzhfszzjkg wrote:

    iflomufdicmph, sipslqydte

    Posted 10 Apr 2013 at 12:11 am
  8. Battlefield 4 wrote:

    If some one desires to be updated with latest technologies afterward he must be
    pay a quick visit this website and be up to date every day.

    Posted 25 Nov 2013 at 1:58 am
  9. michael kors outlet wrote:

    I’ve been surfing online more than 3 hours today, yet
    I never found any interesting article like yours. It is pretty worth enough for me.
    Personally, if all webmasters and bloggers made good content
    as you did, the net will be much more useful than evera before.

    michael kors outlet store online

    Posted 09 Jun 2014 at 11:40 pm
  10. The world of pleasur wrote:

    All need to close upgrading of WordPress so that the site does not fall off afterwards

    Posted 09 Aug 2017 at 9:15 am
  11. ukuskobra wrote:

    look more info here

    Posted 10 Aug 2017 at 4:59 am
  12. badyellowman wrote:

    very nice

    Posted 15 Aug 2017 at 2:30 pm
  13. sablyakate wrote:

    look here more info about

    Posted 22 Aug 2017 at 7:57 am
  14. lipomafast wrote:

    more info

    Posted 26 Aug 2017 at 4:21 am
  15. kajubsta wrote:

    click my name

    Posted 29 Aug 2017 at 10:11 am
  16. jumandarl wrote:

    check here my site

    Posted 31 Aug 2017 at 6:41 am
  17. krokpadla wrote:

    look here

    Posted 12 Sep 2017 at 3:39 am
  18. bastabesd wrote:

    look that

    Posted 13 Sep 2017 at 2:11 pm
  19. oleg95656 wrote:

    ooks like there’s a new version of Simple Tags that seems to work fine with WP

    Posted 31 Oct 2017 at 9:13 am
  20. Asropka22 wrote:

    I agree with you on 100%

    Posted 06 Nov 2017 at 1:02 pm
  21. Laplap67 wrote:

    I agree with you on 100% too

    Posted 06 Nov 2017 at 1:45 pm
  22. MIUMIU?????? wrote:

    I was very happy to find this web site. I want to to thank you for your time just for this wonderful read!! I definitely enjoyed every part of it and I have you bookmarked to see new things in your web site.

    Posted 22 Sep 2018 at 10:33 am
  23. Cheap Adidas NMD Human Race wrote:

    As very long as the business has a group management education program you can quite certain that the possibility will be extended lasting. This isn’t Stone Age and you will find thousands of firms who’re selling these Swiss replica watches. It was not probable in past as no one could acquire stuff on the internet,nike air max tn black and green.The jury unanimously found him guilty of murder and he was sentenced to life in prison in the former British colony in November last year. It

    Posted 13 Dec 2018 at 9:29 pm
  24. Santiago Arias Camiseta wrote:

    Within this time, all cleaning must be conducted and all financial duties must be met in order to ensure that the new apartment occupants are ready to begin living within the property. – Analyze What You’re Wearing Despite the fact there isn’t a life and death dress code,Thomas Partey Camiseta, it is wise to be dressed in something which is well fitted without being tight.9 billion pounds in the process. Almaeena, a member of the Consultative Assembly of Saudi Arabia, said the move resulted from

    Posted 29 Dec 2018 at 6:48 pm
  25. Pharrell X Adidas Human Race Uomo Bianche Blu Italia wrote:

    Storage units are ideal both for personal and commercial purposes, keeping items with absolute security. Ice dams are brought about when snow on the roof melts and refreezes again and again. Definitely good. In Idomeni, there are local groups from the nearby cities of Thessaloniki and Polykastro which offer aid.
    Consequently,Adidas NMD R1 Color Boost Pack Uomo Nere Italia, areas of skin via which harmful toxins are currently being eliminated may possibly turn into irritated, swollen and either i

    Posted 30 Dec 2018 at 2:53 pm

Post a Comment

Your email is never published nor shared. Required fields are marked *