-1, 'post_status' => 'publish', 'cat' => $port_category, ); $port_query = new WP_Query($port_args); $fil_categories = get_categories(array('type' => 'post', 'parent' => $port_category)); ?> have_posts()) : ?>