Skip to content

Instantly share code, notes, and snippets.

<?php
/**
* Works like array_chunk but breaks an array apart into children of an asymmetric size
*
* Example:
* <?php
* $input = array('a', 'b', 'c', 'd', 'e' 'f', 'g', 'h');
* print_r( array_chunk_asymmetric( $input, array(2, 3, 1) ) );
* // Outputs:
* // Array
<?php
/**
* @package Configure-Add-Headers
* @version 1.0
*/
/*
Plugin Name: Add Headers Configuration
Plugin URI: http://www.codetrax.org/projects/wp-add-headers/wiki/Configuration
Description: Implementation of a reasonable configuration for the Add Headers WordPress plugin
Author: Josh Rickert
<?php
/**
* @package Portfolio-Post-Type-Without-Front
* @version 1.2
*/
/*
Plugin Name: Portfolio Post Type Without Front
Description: Removes category base such as /blog/ from portfolio custom post type generated by http://wptheming.com/portfolio-post-type/
Author: Josh Rickert
Version: 1.2