Authors

[insert_php] $args = array(
‘orderby’ => ‘name’,
‘hide_empty’=> 0,
);
$categories = get_categories($args);
foreach ($categories as $cat) {
echo ‘

slug.’/”>‘.$cat->name.’, ‘.$cat->category_description.’

‘;
}
[/insert_php]

[insert_php] $args = array(
‘orderby’ => ‘name’,
‘include’ => array( 250, 6, 7, 8, 9, 10, 11, 12, 86, 87, 88, 85, 83, 84, 76, 77, 78, 79, 80, 81, 11, 82, 65, 73, 75, 74 ),
‘hide_empty’=> 0,
);
$categories = get_categories($args);
foreach ($categories as $cat) {
echo ‘

slug.’/”>‘.$cat->name.’, ‘.$cat->category_description.’

‘;
}

$cats = array();
foreach ($categories as $cat) {
$cat = get_category($cat);
array_push($cats, $cat->category_description);
}
print_r(array_count_values($cats));
echo count($cats);

$counts = array_count_values($cats);
echo $counts[‘Cape Peninsula University of Technology, South Africa’];

[/insert_php]
[insert_php] $args = array(
‘orderby’ => ‘name’,
‘include’ => array( 72, 70, 71, 69, 67, 68, 66, 65, 63, 64, 62, 61, 57, 58, 59, 60, 55, 41, 56, 54, 51, 53, 52, 50, 47, 48, 49, 11, 39, 40, 41, 11, 39, 42, 43, 44, 45, 46, 30, 31, 32, 33, 34, 35, 36, 37, 38, 11 ),
‘hide_empty’=> 0,
);
$categories = get_categories($args);
foreach ($categories as $cat) {
echo ‘

slug.’/”>‘.$cat->name.’, ‘.$cat->category_description.’

‘;
}

$cats = array();
foreach ($categories as $cat) {
$cat = get_category($cat);
array_push($cats, $cat->category_description);
}
print_r(array_count_values($cats));
echo count($cats);

$counts = array_count_values($cats);
echo $counts[‘Cape Peninsula University of Technology, South Africa’];

[/insert_php]
[insert_php] $args = array(
‘orderby’ => ‘name’,
‘include’ => array( 29, 29, 20, 28, 21, 20, 22, 23, 24, 25, 26, 27 ),
‘hide_empty’=> 0,
);
$categories = get_categories($args);
foreach ($categories as $cat) {
echo ‘

slug.’/”>‘.$cat->name.’, ‘.$cat->category_description.’

‘;
}

[/insert_php]
[insert_php] $args = array(
‘orderby’ => ‘name’,
‘include’ => array( 19, 18, 17, 18, 16, 13, 14, 15 ),
‘hide_empty’=> 0,
);
$categories = get_categories($args);
foreach ($categories as $cat) {
echo ‘

slug.’/”>‘.$cat->name.’, ‘.$cat->category_description.’

‘;
}
[/insert_php]

Bitnami