Some time ago Jeff @ weblogtoolscollection.com wrotea post or, shall we say, a rant about how one can waste a lot of time searching for a plugin’s configuration page because it’s tucked away in some remote menu and/or unintuitively named.
The proposed solution was to have all plugins add a “Settings” link to their listing on the Plugins page, which is overall a good idea that I’ve already implemented in some of my plugins. Also, some recent developments in the WP core seem promising and will make it easier for plugin authors to implement this feature. But what about plugins that don’t (or won’t) support this? What about old and/or unmaintained plugins?
When In Doubt, …
So I made a quick hack. It’s a plugin that will scan the WordPress menu structure and attempt to locate the configuration page for each of the active plugins, and add a “Settings” link to the plugin’s row – right besides the “Deactivate” and “Edit” links. The plugin is also smart enough to skip this for plugins that have already added the configuration link on their own (in most cases).
As for the success rate, the plugin correctly added the “Settings” link to 12 of my plugins, and failed to do so for 9 plugins. That’s not too bad. I have a few ideas about how to improve the results considerably, if anyone cares.
Update : It should work with 99% of plugins, provided you’re running PHP 5 or above. I used the PHP introspection tools to match menu items and plugin files, as suggested by Andrew in a comment below. If your server runs PHP 4 the results will vary widely based on what plugins you have installed.
quick-configuration-links.zip (3 KB)
Install it like any other plugin – upload & activate. I’ve tested the plugin with WP 2.6.2 and 2.7 (beta); it will probably work fine in 2.5, too.
On an unrelated note, is it a Feedburner glitch (again), or did I really lose 150 RSS subscribers in just a few days?Related posts :