How to Make Simple Tags Plug-in Working in WordPress 2.7



http://img.photobucket.com/albums/v374/vishaal_here/Wordpress.png

If you are running a WordPress blog, you might be aware of the latest 2.7 version or you might have already upgraded your blog to the latest version.

Although its compatible with almost all existing plug-ins but one plug-in which is an essential one and almost all wordpress bloggers use it, will not work in this 2.7 version and this plug-in is "Simple Tags".

The developer of this plug-in has not updated it yet but he has announced that it'll be updated very soon. In the meantime, if you want to make it working with 2.7, then you just need to follow a few simple steps as mentioned below:

1. Edit "simple-tags.php" file present in your plug-ins folder and look for following line:

if ( strpos($wp_version, '2.5') !== false || strpos($wp_version, '2.6') !== false )

2. Replace this like with following one:

if ( strpos($wp_version, '2.5') !== false || strpos($wp_version, '2.6') !== false || strpos($wp_version, '2.7') !== falseĀ  )

As you can see, you simply need to add a separate entry for 2.7 version so that the plug-in can detect it.

3. Save the file and re-upload it and it'll fix the problem and the plug-in will start working in 2.7 version without any problem.



This article was posted in Others, Troubleshooting.

Subscribe to RSS Feed | Email Newsletter | More Articles

Related Articles

Popular Articles



7 Comments

  • what you have set them all to false.

    and another question is this a site or some sort of mega large blog?

  • A simpler method is now possible for Simple Tags Plugin: Plugin is available for 2.7 . Get updated version from http://wordpress.org/extend/plugins/simple-tags/

  • Yes, why you don't just update the plugin? The update for 2.7 is avaiable since several days!

  • VG

    ^^ The plug-in was not updated at the time of posting this tutorial. Also lots of blogger don't want to update their existing plug-ins because it'll overwrite their custom settings which they incorporated by editing the PHP file itself.

  • I don't see many people updating core php files. There is no reason why you need to modify core php files of the plugins.

  • Thanks, this was really important for my blog. The simple tags developer has updated a 2.7 compatible version but it doesn't seem to work for me and a large number of people running wp 2.7, but instead, this simple change of code works 100%. Thanks so much!

  • Thanks for the tip! One of the security features I have applied is faking the version of WP (I changed it to 5.5 in my version.php file) so that hackers can't see what version of WP I am using. This fix is exactly what I needed to Simple Tags working for me. I simply used this code to get it to work in WP 2.7.

    } elseif ( strpos($wp_version, '5.5') !== false || strpos($wp_version, '5.5') !== false ) {
    require(dirname(__FILE__).'/2.7/simple-tags.client.php');

Add a Comment

NOTE: If you can't see your comment, please be patient. It'll appear as soon as we approve it.


Create an avatar that will appear with your comment.