form and substance of communication


April 16th, 2010

wordpress multibox plugin

There are many modal window plugins, commonly known as “lightbox”, available online: multiBox coded by phatfusion is powerful and relatively lightweight, it is probably the best option within the MooTools framework.

Starting from that script, Manfred Rutschmann, has released the WordPress Multibox Plugin, to make the installation process into a WordPress blog easy and straightforward.

Unfortunately, this plugin could conflict with other extensions, since it injects <script> tags into the page without checking if the code has already been loaded, as the WordPress documentation crearly recommends.

So, I’ve modified the file multibox.php in order to run wp_register_script and wp_enqueue_script function for javascript loading without hassle:


  • development diary