Package/plugin/module WordPress

array_partition v1.0

I’d like to announce the first official release of the array_partition plugin (v1.0) for WordPress.

Introduces function array_partition() to split an array into N number of evenly distributed partitions (useful for splitting data into columns).

The plugin’s official homepage is located at :

This new plugin is part of coffee2code’s bonus extended 14 Days of Plugins (new plugin #18).

Update: Plugin updated to v1.0.1 (see comment below for more information)

Update: Plugin updated to v1.0.2 (see comment below for more information)

Comments welcome on this post for this version of the plugin. Comments will be closed once this release has been superseded by another.

5 replies on “array_partition v1.0”

Interesting idea–but I’m not sure how it would be helpful on a blog. An example showing it in action would be great.

When I try to download it I get a 404 – file not found

Since you linked to your source on I may just get it from there 🙂

This function is useful for a site’s front page, where you might take a list of pages and split it into two columns. Currently I do that manually (though my top-level menu doesn’t change very often….) Still nice to know how to do this stuff programmatically.

v1.0.1 of this plugin has been released

This release does the following:

* Add PHPDoc documentation
* Note compatibility with WP 2.9+
* Update copyright date

v1.0.2 of this plugin has been released

This release does the following:

* Wrap function in if (function_exists()) check
* Note compatibility with WP 3.0+
* Remove docs from top of plugin file (all that and more are in readme.txt)
* Remove trailing whitespace in header docs
* Add Upgrade Notice section to readme.txt

Comments are closed.