Fixing the Updated Content Gallery Plugin

The illustrious Content Gallery Plugin for WordPress blogs has recently issued an update. The plugin is now named Featured Content Gallery Plugin. That’s a very nice name, but with the name change comes a little scare if you are unprepared– updating to the new name knocks out the plugin’s effectiveness on your blog. In other words, after you update, the plugin won’t work right away. There’s something else you have to do after you update this plugin, before it can get going again: you have to go into your Theme Editor and rename the code– you must tell the theme to point to the Featured Content Gallery plugin, not the Content Gallery plugin. Here’s the quick and easy way to do this:

>> Update plugin.
>> Go to your Theme Editor.
>> Find the code for the Content Gallery plugin (it’s usually in the “home.php” file but your location may vary depending upon where you have the plugin inserted).
>> Find the code that says:

<?php include (ABSPATH . ‘/wp-content/plugins/content-gallery/gallery.php’); ?>

>> Replace it with this:

<?php include (ABSPATH . ‘/wp-content/plugins/featured-content-gallery/gallery.php’); ?>

>> Save.
>> Check your website and refresh. You may need to clear your cache to see the change.

I don’t know why these instructions were not clear on the WordPress plugin gallery site, nor the plugin homepage. I had no idea you had to change the code– I merely updated the plugin, only. So I freaked out after updating the plugin, because when people viewed my home page, all they saw was a bunch of scrambled code nonsense where the Gallery should be.

Hopefully, this will spare plugin users the agony of an ugly home page and the scrambling for a fix. Hope this helps.

[Slashdot] [Digg] [Reddit] [del.icio.us] [Facebook] [Technorati] [Google] [StumbleUpon]

Comments are closed.