How do I add a separator to my list of terms with get_category
I have this...
$args = array('child_of' = 3422 );
$categories = get_categories( $args );
foreach($categories as $category) {
echo 'a href="' . get_category_link( $category-term_id ) . '" title="' . sprintf( __( "View all members in %s" ), $category-name ) . '" ' . '' . $category-name.'/a ';
}
I can't find a way to add a separator between each term?
Topic wp-parse-args list categories Wordpress
Category Web