I just completed 14 Days of WordPress Plugins + 7 Bonus Plugins!

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 :
http://coffee2code.com/wp-plugins/array_partition.

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

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

3 Responses to “array_partition v1.0”

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

  2. When I try to download it I get a 404 - file not found

    Since you linked to your source on php.net 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.

  3. Scott replied on

    Ah, thanks. Fixed the download link.

Leave a Reply

Please keep these things in mind:
Comments may be moderated.
Don't say obviously spammy words (poker, penis, etc)
Basic HTML allowed: i, b, code
Wrap code examples in code tags.