mllerena (July 13th, 2017)
function va_create_child_list( $cats = array(), $parent_id = 0, $location = '' ) {
$args = array(
'taxonomy' => VA_LISTING_CATEGORY,
'parent' => $parent_id,
'child_count' => true,
'hide_empty' => false,
'number' => 3, // AppThemes custom.
);
function my_va_increase_sub_cats( $args ) {
$args['number'] = 10;
return $args;
}
add_filter( 'va_listing_categories_menu_child_args', 'my_va_increase_sub_cats' );
add_filter( 'va_listing_categories_dir_child_args', 'my_va_increase_sub_cats' );
mllerena (July 13th, 2017)
There are currently 1 users browsing this thread. (0 members and 1 guests)