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.

Options

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)

Installation

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

Usage

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.

Fixes

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

 Tags

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

  1. WP-Plugin List 1.0 at WordPress New Plugins & Themes Says:

    [...] [Download] [Plugin Page] [...]

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

  3. Martin Says:

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

  4. MARTIN WIÅ O » Blog Archive » New WordPress plugin - WP-Custom Logo 1.0 - personal homepage about coding in .NET, Java, PHP and other languages from XML, JavaScript to Perl Says:

    [...] Well, it was a day before yesterday I released my first WP plugin named WP-Plugin List 1.0 and today I would like to present you my another new plugin. More simple that one before ;). [...]

  5. SubZane Says:

    Error 404 when trying to download

  6. Martin Says:

    All WP plugin downloads are now working correctly.

  7. SubZane Says:

    excellent!

  8. Dee Says:

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

  9. 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() [function.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.

  10. Martin Says:

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

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

  12. Rovie Says:

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

  13. 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).

  14. SubZane Says:

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

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

  16. 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!

  17. 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?

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

  19. SolykZ Says:

    Hello,

    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 ;)

    Bye

  20. .: towerlight2002(dot)org :. - Notizie e curiosità da internet e dintorni » WordPress Plugins in uso Says:

    [...] WP-Plugin List v1.0WP Plugin List is a simple plugin to allow yout post your current WordPress 1.5+ Martin Wiso [...]

  21. apexad.net » Wordpress plugin list modified Says:

    [...] it every time I found a new useful plugin though. Thankfully, I found a great plugin to do it, wp-plugin-list by Martin Wiso. However, this plugin listed the description of the plugin, and I just wanted a list (with name [...]

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

  23. TeacherTabletPC » WordPress Plugins Says:

    [...] Since I already posted about the upgrade to WP2.1 this week, I thought I might as well post a list of the plugins I’m using. This should automatically update, since (as listed below) I’m using WP-Plugin List. [...]

  24. 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 ;)

  25. 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 :(

  26. 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…

  27. Celtic Spirit » About Says:

    [...] WP-Plugin List [...]

  28. Treno Says:

    ..Rather helpful information you have here. Grazie!

  29. Weblog Tools Collection » Blog Archive » WordPress Plugin Releases for 3/09 Says:

    [...] WP-Plugin List allows you to display list of currently installed WordPress plugins. (No Ratings Yet)  Loading … [...]

  30. giorgia palmas Says:

    Nice site you have!

  31. danni Says:

    i’am really impressed!!

  32. Northern-Web-Coders » Plugins die hier laufen! Says:

    [...] WP-Plugin List v1.0WP Plugin List is a simple plugin to allow yout post your current WordPress 1.5+ Martin Wiso [...]

  33. winnie the pooh Says:

    WOW!! I like it!

  34. インストール済みプラグインをリストにしてみる « :: plasticdreams :: Says:

    [...] Filed under: WordPress, Plugin Tags: Development, Plugin, WordPress Submit to: 0 user 0 user 0 user Visited: times via My first WordPress plugin – WP-Plugin List 1.0 [...]

  35. Fra vor helt egen verden | Webmercial.dk Says:

    [...] så kan man her se hvilke wordpress plugins denne weblog er udvidet med (vist dynamisk med hjælp fra’wp-plugin list’).Som den årvågne læser vil have bemærket, er det blevet omstruktureret lidt herinde, til fordel [...]

  36. Expanding Horizons | BubblesSOC Says:

    [...] filter are executed1)… but how do I know what priority to use?? Both the WP-UserOnline and WP-Plugin List plugins use [...]

  37. diuna Says:

    Interesting comments.. :D

  38. 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…
    HTH

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

  40. airow.ch » Plugins und noch mehr Plugins! Says:

    [...] Plugin-List, damit sieht man welche Plugins ich benutze, nämlich ebenfalls hier. [...]

  41. WordPress Plugin Recommendation (June) >> PiXELWiT Says:

    [...] WP-Plugin List by Martin WisoBy placing <!–plugin list–> 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. [...]

  42. 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!

  43. Karolis Pocius » WP įskiepiai Says:

    [...] Vakar pasiūliau įdėją WP įskiepiui, kuris pasirodo jau egzistuoja. Ir net ne vienas! [...]

  44. 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.”

  45. WP Plugins DB » Plugin Details » WP-Plugin List Says:

    [...] Visit [...]

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

  47. Wordpress QuickStart Guy Says:

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

    thanks!

  48. hiutopor Says:

    Hi all!

    Very interesting information! Thanks!

    G’night

  49. 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?

    ®

  50. Martin Says:

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

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

    Thanks

  52. Fuel Freedom Says:

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

  53. WP-SuperBlog.com » Blog Archive » WordPress plugin for PrestoGifto and CafePress Says:

    [...] MARTIN WIŠO » Blog Archive » My first WordPress plugin – WP-Plugin …Well, it was a day before yesterday I released my first WP plugin named WP-Plugin List 1.0 and today I would like to present you my another new plugin. … [...]

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

    ~Shiv

  55. Hvis jeg må se dine WordPress-plugins, så må du se mine Says:

    [...] en auto-genereret liste over “Mine WordPress plugins” Dette plugin laver automatisk en liste over de plugins du har pÃ¥ din egen blog. Du behøver ikke en gang at [...]

  56. Fanna Says:

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

  57. David Says:

    Interesting idea, I will try it. Thanks

  58. Installerede Wordpress plugins | Runemester Says:

    [...] sørger Lester Chans plugin WP-PluginsUsed for (efter opdatering til 2.5 har jeg måttet udskifte det plugin jeg oprindelig brugte til samme formål for at få det til at [...]

  59. Pluginkompatabilitet | Runemester Says:

    [...] opgraderingen smertefrit – dog mÃ¥tte to plugins gÃ¥s efter i sømmene. Det ene var Martin Wisos WP-PluginList. Det er ellers en fin lille sag, der sørger for automatisk at generere en liste af de plugins du [...]

  60. Emma Says:

    This plugin can be great help for new blog. Thanks

  61. Mat Says:

    wow..nice plugin thanks
    Cheers,
    Online Issues

  62. Tomasso Torr Says:

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

  63. Pierss Says:

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

  64. Wordpress Plugin Centre - Dublin Core Meta Tags - El Enemigo Com n Plugins Used Says:

    [...] MARTIN WI O Blog Archive My first WordPress plugin – WP I ve spent a lot of time coding WP plugins and helping with Dublin Core Metadata Feel free to contact me if you have any comments. [...]

  65. Roy Blogs For Profit Says:

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

  66. baron Says:

    hi. Thanks for plugin

    perfect.

    Regards

  67. 两个展示插件的插件 « Wordpress插件 Says:

    [...] 作者的插件页 [...]

  68. pranajayas Says:

    good information, I want to try those plugins also

  69. Dereck Says:

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

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

  71. John Says:

    Still no update?

  72. Martin Says:

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

  73. Feller Says:

    Yea me too, no problems with 2.8

  74. John Says:

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

  75. Martin Says:

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

  76. 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,
    Marikamitsos

  77. 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 – http://www.wiso.cz/files/wpplcommreply2142010.png 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 :)

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

  79. 2009年度WordPressに入れてるプラグインまとめ — 病的溺愛シンドローム Says:

    [...] WP-Plugin List 有効化してるプラグインの一覧を表示するプラグイン。 思いっきり自分用。 [...]

  80. WordPress 2.8 ウィジェットのトラブルとプラグイン対応リスト — 病的溺愛シンドローム Says:

    [...] WP-Plugin List [...]

  81. 2008年度WordPressに入れてるプラグインのまとめ — 病的溺愛シンドローム Says:

    [...] WP-Plugin List WordPressにインストールしているプラグインを表示させるプラグイン。 多分これは管理人の便利さのためにあると思う。 [...]

  82. 两个展示插件的插件 | 学好 Says:

    [...] 作者的插件页 [...]

  83. Nhac Hot Says:

    Thanks! :)

  84. WP Developer Says:

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

  85. 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:
    http://om4ce.org/copyrights-and-attribution/

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

    Thank you!

  86. John Says:

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

  87. links for 2010-08-28 Says:

    [...] My first WordPress plugin – WP-Plugin List 1.0 | MARTIN WIŠO @ibpotter http://bit.ly/bU8bTX har virket fint for mig, men har ikke brugt det i nogle år #wordpress #plugin (tags: plugin wordpress via:packrati.us) This entry was posted in Delicious. Bookmark the permalink. Post a comment or leave a trackback: Trackback URL. « links for 2010-08-27 [...]

  88. Sket på nettet den 02.09.10 Says:

    [...] My first WordPress plugin – WP-Plugin List 1.0 | MARTIN WIŠO — 8:51am via [...]

  89. 两个展示插件的插件 - WP痴综合网站 Says:

    [...] 作者的插件页 [...]

  90. For life - Extensions (Plugins) WordPress activés Says:

    [...] Plugin List v2.3 [...]

  91. raw food Says:

    raw food…

    [...]My first WordPress plugin – WP-Plugin List 1.0 | MARTIN WIŠO[...]…

  92. Cheap Seo Companies Says:

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

  93. 테스트 WP에 설치했던 플러그인 목록 | alogblog.com Says:

    [...] Plugin List v2.3 By placing 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.Martin Wiso [...]

  94. Suggested Site Says:

    I think the admin of this website is actually working hard in support of his site, since here every information is quality based material.

  95. mittel gegen Nagelpilz Says:

    great post, very informative. I’m wondering why the opposite experts of this sector don’t understand this.

    You should proceed your writing. I’m sure, you have a huge readers’ base already!

  96. bladder disease Says:

    Have you ever thought about including a little bit more than just your articles?
    I mean, what you say is important and all. However imagine if you added
    some great graphics or video clips to give
    your posts more, “POP”! Your content is excellent but with pics and video clips, this
    website could definitely be one of the greatest in its niche.
    Superb blog!

  97. mp2007.com.ua Says:

    This is my first time pay a visit at here and i am actually
    happy to read all at one place.

  98. haartransplantation Says:

    Hello mates, its impressive piece of writing concerning tutoringand entirely defined, keep it
    up all the time.

  99. 75667 Says:

    Right on. Anytime I go on %source_url&%, I happen upon a website that is insightful and challenging.
    . It’s always helpful to study content from fellow authors and use something from other websites.

  100. Full article Says:

    Asking questions are in fact fastidious thing
    if you are not understanding anything completely, however this article presents nice understanding even.

Leave a Reply

Text size: A A