My first WordPress plugin – WP-Plugin List 1.0

September 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 Maker(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.


General options

  • Enable/disable display of ‘Plugin List’ Quicktag in Rich text editor

Display options

  • 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.


77 Responses to “My first WordPress plugin – WP-Plugin List 1.0”

  1. Kenneth Says:

    It’s not working for me. WordPress 2.0.4, nothing funky running (like Exec-PHP or anything). The error I’m getting is that your use of uksort isn’t correct. It needs an array. After I send it an array ($plugins instead of your $pluginslist), it fails on the sort criteria. I probably won’t check back here, so please email me.

  2. Martin Says:

    I did some plugin fixes, so it is working correctly now. Updated version is now available for download.

  3. SubZane Says:

    Error 404 when trying to download

  4. Martin Says:

    All WP plugin downloads are now working correctly.

  5. SubZane Says:


  6. Dee Says:

    I really like it. It’s so simple but nice!
    Greetings Dee

  7. Levi Says:

    I get an error message when WordPress Plugin list activated on WordPress 2.0.5 because of this:

    Warning: call_user_func_array() []: First argumented is expected to be a valid callback, ‘wppl_add_quicktag’ was given in wp-includes/functions.php on line 1303

    Hope you can fix it somehow, Martin or whoever you are.

  8. Martin Says:

    Levi: I released new version, that includes various bug fixes including yours. Happy using :)

  9. SubZane Says:

    Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /home/subzane/public_html/wp-content/plugins/wp-plugin-list/options-pluginlist.php on line 12

  10. Rovie Says:

    I get the same error as SubZane when I try to go to Option->Plugin List

  11. Martin Says:

    Levi, SubZane, Rovie: Ok, I really do not know why is this happen, but I fixed this issue… Strange thing is that it fail on line of code where I am trying to get user information to determine admin permissions… So I hope it will be fine now (new release is ready to download).

  12. SubZane Says:

    I still get the same error. I’m running WP 2.04. Could that be an issue? =/

  13. astrocoz Says:

    I get the same error:

    Parse error: parse error, unexpected T_OBJECT_OPERATOR in /home/content/a/s/t/astrocoz/html/blog/

    wp-content/plugins/wp-plugin-list/options-pluginlist.php on line 12

    I’m running on WP 2.0.5

  14. Martin Says:

    Well, I did some changes to plugin so I hope it will be working correctly now. I tested this release on WP 2.0.4 and 2.0.5. Please let me know if there is still problem. Thank you all for your reports!

  15. Heidi Says:

    I placed on a page, and it only shows up as rather than executing the plugin. Excuse my newbieness on this, but what am I missing?

  16. Heidi Says:

    Ok – it works now. The instructions had one dash, but it requires two on either side. I didn’t see it at first.

  17. SolykZ Says:


    I wanted just to bring to your attention a modification of your plugin, made by myself, with an aim of posting only the list of the plugins, without description. The plugin is also francized… You can see the changes via my blog ;)


  18. Honney Says:

    hi there. this is a great plug-in. i installed it just fine and was able to configure it. however, IM having a hard time creating a page for my plug-in list. can you help me? thanks.

  19. Modifoo Says:

    I installed the plug-in and nothing happened; I was ready to chuck it when it hit me what Heidi meant.

    You have to write

    and not

    as you write. So: 3 dashes, not just one.

    Other than that: great plug, in. I got it to run ;)

  20. Martin Says:

    Modifoo: Thank you for your comment. Because pattern for replacing is HTML comment, editors can change its format so I added an image with code you should put into your post/page. If you are using tinyMCE and WP version lower thant 2.1 you also have ability to use tinyMCE toolbar button to put pattern code into your post. I am going to release new version of this plugin very soon, because in WP version 2.1 this toolbar quicktag does not work :(

  21. Martin Says:

    Honney: Sorry for late response, but I was out of my blog couple of days – snowboarding ;). Well if plugin is active, create page or post with title you want and put into Source code (Code tab on 2.1 or Source button on previous versions) pattern displayed on image anywhere in this post (I added it recently) and save it. That is all. If you have any troubles with this approach just contact me directly using my contact form or leave a comment…

  22. Treno Says:

    ..Rather helpful information you have here. Grazie!

  23. giorgia palmas Says:

    Nice site you have!

  24. danni Says:

    i’am really impressed!!

  25. winnie the pooh Says:

    WOW!! I like it!

  26. diuna Says:

    Interesting comments.. :D

  27. fmf Says:

    In plugin description you miss something:
    “WP Plugin List is a simple plugin to allow yout post your current WordPress 1.5+” doesn’t seem plain English to me.
    But I could making a mistake, my English isn’t so good…

  28. Martin Says:

    fmf: Thank you for report. I do not know how and when it happened, but it looks like a merging files issue. Anyway it is corrected now for next downloaders.

    Thank you

  29. Matt Says:

    Great plugin, just what I was looking for.

    One minor issue, just housekeeping, really. The zip file leads directly to the six individual files instead of a folder containing the files. Especially since the code calls back to a specific file name, it’d be helpful if you put the folder in, just so there’s no confusion or misspellings.

    Again, though, great work. I look forward to seeing more from you!

  30. Kristina Graham Says:

    This one makes sence “One’s first step in wisdom is to kuesstion everything – and one’s last is to come to terms with everything.”

  31. Jakob Says:

    This is exactly what I expected to find out after reading the title My first WordPress plugin – WP-Plugin List 1.0 – personal homepage about coding in .NET, Java, PHP and other languages from XML, JavaScript to Perl. Thanks for informative article

  32. Wordpress QuickStart Guy Says:

    Do your version work for wordpress 2.2? I would write my own plugin in the near future.


  33. hiutopor Says:

    Hi all!

    Very interesting information! Thanks!


  34. Holster® Says:

    Great plugin!

    Can I call it manually from somewhere in my page template instead of adding it to my post? I want to show it in a specific area separate from my page content, is there a type way if doing it in the page template itself?


  35. Martin Says:

    WordPress QuickStart Guy: Yes this plugin works with WP 2.2 (not only this version of course). :)

  36. Martin Says:

    Holster®: Well good idea and quite easy to implement. I have to say that this is not supported at current version, but I am working on a new one. I hope this new version will be available for download within two days.


  37. Fuel Freedom Says:

    Thanks for the really helpful info. That’s a 5 stars for sure.

  38. Toby Says:

    I get a 404 error when trying to access the options page. I’m using WP 2.3.2.
    I think you need to change the path set up on the ‘add_options_page’ to pick up whatever folder the plugin is dropped in.


  39. Fanna Says:

    Good luck with your first plugin. I will sure try it.

  40. David Says:

    Interesting idea, I will try it. Thanks

  41. Emma Says:

    This plugin can be great help for new blog. Thanks

  42. Mat Says:

    wow..nice plugin thanks
    Online Issues

  43. Tomasso Torr Says:

    This is great help. I’m thinking to use it in a week or two.

  44. Pierss Says:

    It might get handy when I retire from blogging and become hacker …. Ha ha ha . Seriously great plugin.

  45. Roy Blogs For Profit Says:

    A REALY USEFUL plug in. Will enable me to help newbies to how my blogs work. cool ..thanks

  46. baron Says:

    hi. Thanks for plugin



  47. pranajayas Says:

    good information, I want to try those plugins also

  48. Dereck Says:

    I have used this plugin way back. Is there any new update?

  49. Martin Says:

    Dereck: Well it depends what version you are talking about. There were a few updates mainly related to WordPress upgrade. I think there is no place for any new feature.

  50. John Says:

    Still no update?

  51. Martin Says:

    John: Is there any problem with latest version from repository? I am using it on WP 2.8 without any problem.

  52. Feller Says:

    Yea me too, no problems with 2.8

  53. John Says:

    I also using it with latest 2.9.2, no problems till now.

  54. Martin Says:

    John: can you provide more information about your problem with plugin?

  55. marikamitsos Says:

    Hi Martin.
    Thank you for a wonderful plugin. I use it on my 2.9.2 test site. Couple of things though….
    1. I can neither find the icon on my Rich Text Editor or where to enable it from.
    2. There is no headline showing up with my text although enabled on the options page.
    3. When I enable both “show description” and “show deactivated” the plugin hangs.

    Plus a suggestion…
    Could we possible have a way of showing which plugins are active and which are not (different colored green/red bullet maybe)?
    Thank you in advance,

  56. Martin Says:

    marikamitsos: First of I am glad you like this plugin. But straight to your questions:

    1. Current version of plugin do not support latest WP Rich Text Editor. You have to place code manually using HTMP editor (not WYSIWYG – second tab). I will take a look to enable this functionality again in future versions.
    2. I use these settings – with WP 2.9.2 without any problem. Can you provide me with more information (you can also use contact form)?
    3. As with previous question. I test it on latest stable WP without any problem. Please send me more detailed description.

    To your suggestion…. Interesting idea, but I have to think about it for a future version.

    Thank you for reporting issues and mainly suggestions :)

  57. marikamitsos Says:

    Hi Martin,
    Thank you for your answer. I tried your solution for placing the code in the HTMP editor and worked fine.
    Unfortunately issues 2 and still persist, even when using your settings.
    What I have is this:
    Wordpress 2.9 (testing site), WordPress 2.9.2 (working site)
    MySQL version 5.1.45-log
    Apache version 2.2.14
    PHP version 5.2.11
    should you need more info, please email me.
    Thanx again, marikamitsos

  58. Nhac Hot Says:

    Thanks! :)

  59. WP Developer Says:

    It’s not working all plugin. Please check & verify the plugin…

  60. Wayne Moses Burke Says:

    This plugin is great. I think it’s really important to make it possible for anyone to see the plugins that you’re using.

    Unfortunately, I’m using BuddyPress and a fair number of additional plugins to enhance that and none of them show up in the plugin-list. You can see it here:

    If there’s anything that can be done, I would greatly appreciate it.

    Thank you!

  61. John Says:

    Any recent update to this “old timer” plug-in?

  62. Cheap Seo Companies Says:

    This paragraph is really a good one it helps new web people, who are wishing for blogging.

  63. Accueil Says:


    My first WordPress plugin – WP-Plugin List 1.0 | MARTIN WIŠO

  64. kapsáře dětské za postel Says:

    kapsáře dětské za postel

    My first WordPress plugin – WP-Plugin List 1.0 | MARTIN WIŠO

  65. levné dětské kapsáře za postel Says:

    levné dětské kapsáře za postel

    My first WordPress plugin – WP-Plugin List 1.0 | MARTIN WIŠO

  66. detska postel se zabranou Says:

    detska postel se zabranou

    My first WordPress plugin – WP-Plugin List 1.0 | MARTIN WIŠO

  67. dětská postel s psacím stolem Says:

    dětská postel s psacím stolem

    My first WordPress plugin – WP-Plugin List 1.0 | MARTIN WIŠO

  68. postele do dětského pokoje Says:

    postele do dětského pokoje

    My first WordPress plugin – WP-Plugin List 1.0 | MARTIN WIŠO

  69. Says:

    My first WordPress plugin – WP-Plugin List 1.0 | MARTIN WIŠO

  70. dětská vyvýšená postel Says:

    dětská vyvýšená postel

    My first WordPress plugin – WP-Plugin List 1.0 | MARTIN WIŠO

  71. dětská postel auta Says:

    dětská postel auta

    My first WordPress plugin – WP-Plugin List 1.0 | MARTIN WIŠO

  72. dětská rostoucí postel Says:

    dětská rostoucí postel

    My first WordPress plugin – WP-Plugin List 1.0 | MARTIN WIŠO

  73. dětská bílá postel Says:

    dětská bílá postel

    My first WordPress plugin – WP-Plugin List 1.0 | MARTIN WIŠO

  74. ΝΤΕΤΕΚΤΙΒ Says:


    My first WordPress plugin – WP-Plugin List 1.0 | MARTIN WIŠO

  75. Says:

    My first WordPress plugin – WP-Plugin List 1.0 | MARTIN WIŠO

  76. water purification Says:

    water purification

    My first WordPress plugin – WP-Plugin List 1.0 | MARTIN WIŠO

  77. snapchat online profile viewer Says:

    snapchat online profile viewer

    My first WordPress plugin – WP-Plugin List 1.0 | MARTIN WIŠO

Leave a Reply

You must be logged in to post a comment.

Text size: A A