subcategories in category menu
Hello,
unfortunately I have no php knowledge and I was trying to add the additional parameters to the functions.php as suggested. However, it doesn't seem to work. Could you please tell me how to add this additional parameters? Do I need to have an extra function for every parameter?
function my_va_increase_sub_cats( $args ) {
$args['menu_sub_num'] = 10;
return $args;
}
add_filter( 'va_listing_categories_menu_args', 'my_va_increase_sub_cats' );
add_filter( 'va_listing_categories_dir_args', 'my_va_increase_sub_cats' );
function my_column($args) {
$args['menu_cols'] = 5;
return $args;
}
function my_hide_null_values($args) {
$args['cat_hide_empty'] = false;
return $args;
}
Thanks in advance