My first WordPress plugin – WP-Plugin List 1.0September 20th, 2006 by Martin
So I finally wrote my first plugin for WordPress . It is inspired by WP-Contact Form plugin by Ryan Duff. Its purpose is simple(see example). By placing (just like (X)HTML comment with two dashes) in your page or post by sources code or using toolbar icon ‘Plugin List’ in your Rich text editor(only if enabled) plugin replaces it with list of currently installed WordPress plugins. WP-Plugin List has some options. You can access them ad admin interface – Options->Plugin List.
- Enable/disable display of ‘Plugin List’ Quicktag in Rich text editor
- Enable/disable display of non active plugins
- Enable/disable display of plugin version
- Enable/disable display of headline with custom text
- Custom headline text (use %TOTAL% for total number of plugins)
- Unzip plugin and upload it to your WordPress plugin directory
- Activate plugin using WordPress administration interface
- Configure plugin options using WordPress administration interface(Options->Plugin List)
Use is very simple. Just place <!–plugin list–> in your page or post by sources code or using toolbar icon ‘Plugin List’ in your Rich text editor(only if enabled).
You can download plugin from an official WordPress repository.
Feel free to contact me if you have any comments.
- Improved pattern replacement for plugin tag
- Plugin list caching
Update to 1.10
There is not much new just one new feature. Enzo asked me about some changes and I decided to make it public. He wanted an option to disable displaying plugin description in the list. I also added another simple feature – disable display of WP-Plugin List among other plugins . So it is simple as you can see.
Update for 2.1
Completely rewriten interface and code to fit 2.5 and newer version of WordPress.
Update to 2.2
Completely rewritten version using my new help WPOL library (acronym stays for WordPress OpenLab which is a company I co-own) with some fixes too.Plugins WordPress