I’m trying to get the categories to appear in teh footer using get_categories. All I’m seeing is ‘array’ – can someone tell me what I’m doing wrong?
***
function ctkcategories() { $categories = get_categories(); echo $categories;
}
add_action(‘premiumpress_footer_inside’,’ctkcategories’);
?>
This reply is for PremiumPress customers only.
237
Views
1
Replies
Copyright © 2010-2024 PremiumPress Limited.
I’m trying to get the categories to appear in teh footer using get_categories. All I’m seeing is ‘array’ – can someone tell me what I’m doing wrong?
***
function ctkcategories() {
$categories = get_categories();
echo $categories;
}
add_action(‘premiumpress_footer_inside’,’ctkcategories’);
?>
Members Only Content
This reply is for PremiumPress customers only.
Login Now