Portfolios
-
true,
'_builtin' => false
);
foreach (get_post_types($args, 'objects', 'and') as $post_type) {
if (in_array($post_type->name, $portfolios)) {
$num = array_search($post_type->name, $portfolios);
$buttons[$post_type->name] = "
- name)."\" class=\"button big-button button-".($num+2)."\" href=\"".($post_type->name)."\">".($post_type->labels->name)." "; } } foreach ($portfolios as $portfolio) { echo "
";
echo $buttons[$portfolio];
echo "
";
}
?>