Recipes by Ingredient
[insert_php]
$tags = get_tags( array(‘name__like’ => “a”, ‘order’ => ‘ASC’) );
$tags_count = count($tags);
$count = intval( $tags->count );
$percolumn = ceil($tags_count / 3);
for ($i = 0;$i < $tags_count;$i++): if ($i < $percolumn): $tag_left .= '
‘ . “\n”;
elseif ($i >= $percolumn*2):
$tag_right .= ‘
-
[insert_php] echo $tag_left; [/insert_php]
-
[insert_php] echo $tag_mid; [/insert_php]
-
[insert_php] echo $tag_right; [/insert_php]