Hi, can you please help me somebody, I try to call in template to show just children category, for example I have category CAR and in this category I have 5 subcategory ford, Audi etc... (children category) and I need to show on widget or on sidebar just this 5 children category. I try something with code
<?php echo get_category_parents(category, display link, separator, nice name); ?>
bur I get error
Catchable fatal error: Object of class WP_Error could not be converted to string in....
Can somebody help me?